Re: [Qemu-devel] [PATCH v4 3/3] tests: add RTAS command in the protocol

2016-09-07 Thread Laurent Vivier
On 07/09/2016 00:07, Greg Kurz wrote: > On Tue, 6 Sep 2016 15:17:57 +0200 > Laurent Vivier wrote: > >> Add a first test to validate the protocol: >> >> - rtas/get-time-of-day compares the time >> from the guest with the time from the host. >> >> Signed-off-by: Laurent Vivier >> --- >> v4: >

Re: [Qemu-devel] [PATCH v4 3/3] tests: add RTAS command in the protocol

2016-09-06 Thread Greg Kurz
On Tue, 6 Sep 2016 15:17:57 +0200 Laurent Vivier wrote: > Add a first test to validate the protocol: > > - rtas/get-time-of-day compares the time > from the guest with the time from the host. > > Signed-off-by: Laurent Vivier > --- > v4: > - use qemu_strtoXXX() instead strtoXX() > > v3: >

[Qemu-devel] [PATCH v4 3/3] tests: add RTAS command in the protocol

2016-09-06 Thread Laurent Vivier
Add a first test to validate the protocol: - rtas/get-time-of-day compares the time from the guest with the time from the host. Signed-off-by: Laurent Vivier --- v4: - use qemu_strtoXXX() instead strtoXX() v3: - use mktimegm() instead of timegm() v2: - add a missing space in qrtas_call() pr