Re: [Qemu-devel] [PATCH 2/5] pseries: Add spapr_rtc_read() helper function

2014-12-15 Thread David Gibson
On Tue, Dec 16, 2014 at 02:01:29AM +0100, Alexander Graf wrote: > > > On 16.12.14 01:43, David Gibson wrote: > > The virtual RTC time is used in two places in the pseries machine. First > > is in the RTAS get-time-of-day function which returns the RTC time to the > > guest. Second is in the spa

Re: [Qemu-devel] [PATCH 2/5] pseries: Add spapr_rtc_read() helper function

2014-12-15 Thread Alexander Graf
On 16.12.14 01:43, David Gibson wrote: > The virtual RTC time is used in two places in the pseries machine. First > is in the RTAS get-time-of-day function which returns the RTC time to the > guest. Second is in the spapr events code which is used to timestamp > event messages from the hypervis

[Qemu-devel] [PATCH 2/5] pseries: Add spapr_rtc_read() helper function

2014-12-15 Thread David Gibson
The virtual RTC time is used in two places in the pseries machine. First is in the RTAS get-time-of-day function which returns the RTC time to the guest. Second is in the spapr events code which is used to timestamp event messages from the hypervisor to the guest. Currently both call qemu_get_ti