Re: [PATCH v2] hw/rtc/pl031: Send RTC_CHANGE QMP event

2021-11-15 Thread Peter Maydell
On Mon, 15 Nov 2021 at 12:49, Paolo Bonzini wrote: > > On 11/1/21 17:04, Peter Maydell wrote: > > On Thu, 23 Sept 2021 at 14:29, Peter Maydell > > wrote: > >> > >> On Mon, 20 Sept 2021 at 13:25, Eric Auger wrote: > >>> > >>> The PL031 currently is not able to report guest RTC change to the QMP

Re: [PATCH v2] hw/rtc/pl031: Send RTC_CHANGE QMP event

2021-11-15 Thread Paolo Bonzini
On 11/1/21 17:04, Peter Maydell wrote: On Thu, 23 Sept 2021 at 14:29, Peter Maydell wrote: On Mon, 20 Sept 2021 at 13:25, Eric Auger wrote: The PL031 currently is not able to report guest RTC change to the QMP monitor as opposed to mc146818 or spapr RTCs. This patch adds the call to

Re: [PATCH v2] hw/rtc/pl031: Send RTC_CHANGE QMP event

2021-11-01 Thread Peter Maydell
On Thu, 23 Sept 2021 at 14:29, Peter Maydell wrote: > > On Mon, 20 Sept 2021 at 13:25, Eric Auger wrote: > > > > The PL031 currently is not able to report guest RTC change to the QMP > > monitor as opposed to mc146818 or spapr RTCs. This patch adds the call > > to qapi_event_send_rtc_change()

Re: [PATCH v2] hw/rtc/pl031: Send RTC_CHANGE QMP event

2021-09-23 Thread Peter Maydell
On Mon, 20 Sept 2021 at 13:25, Eric Auger wrote: > > The PL031 currently is not able to report guest RTC change to the QMP > monitor as opposed to mc146818 or spapr RTCs. This patch adds the call > to qapi_event_send_rtc_change() when the Load Register is written. The > value which is reported

[PATCH v2] hw/rtc/pl031: Send RTC_CHANGE QMP event

2021-09-20 Thread Eric Auger
The PL031 currently is not able to report guest RTC change to the QMP monitor as opposed to mc146818 or spapr RTCs. This patch adds the call to qapi_event_send_rtc_change() when the Load Register is written. The value which is reported corresponds to the difference between the guest reference time