Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-05-02 Thread Daniil Tatianin
On 4/29/24 4:39 PM, Philippe Mathieu-Daudé wrote: (+Peter who has more experience on such design). On 29/4/24 13:32, Markus Armbruster wrote: Philippe Mathieu-Daudé writes: Hi Daniil, Markus, On 26/4/24 10:39, Markus Armbruster wrote: Daniil Tatianin writes: This can be used to force-s

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-29 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > (+Peter who has more experience on such design). > > On 29/4/24 13:32, Markus Armbruster wrote: >> Philippe Mathieu-Daudé writes: [...] >>> IMO to avoid any future ambiguity (in heterogeneous machines), this >>> command must take a QOM device path (or a list of

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-29 Thread Philippe Mathieu-Daudé
(+Peter who has more experience on such design). On 29/4/24 13:32, Markus Armbruster wrote: Philippe Mathieu-Daudé writes: Hi Daniil, Markus, On 26/4/24 10:39, Markus Armbruster wrote: Daniil Tatianin writes: This can be used to force-synchronize the time in guest after a long stop-cont

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-29 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > Hi Daniil, Markus, > > On 26/4/24 10:39, Markus Armbruster wrote: >> Daniil Tatianin writes: >> >>> This can be used to force-synchronize the time in guest after a long >>> stop-cont pause, which can be useful for serverless-type workload. >>> >>> Signed-off-by:

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-29 Thread Philippe Mathieu-Daudé
On 26/4/24 11:48, Philippe Mathieu-Daudé wrote: Hi Daniil, Markus, On 26/4/24 10:39, Markus Armbruster wrote: Daniil Tatianin writes: This can be used to force-synchronize the time in guest after a long stop-cont pause, which can be useful for serverless-type workload. Signed-off-by: Daniil

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-26 Thread Philippe Mathieu-Daudé
Hi Daniil, Markus, On 26/4/24 10:39, Markus Armbruster wrote: Daniil Tatianin writes: This can be used to force-synchronize the time in guest after a long stop-cont pause, which can be useful for serverless-type workload. Signed-off-by: Daniil Tatianin --- hw/rtc/mc146818rtc.c | 1

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-26 Thread Markus Armbruster
Daniil Tatianin writes: > On 4/26/24 11:39 AM, Markus Armbruster wrote: > >> Daniil Tatianin writes: >> >>> This can be used to force-synchronize the time in guest after a long >>> stop-cont pause, which can be useful for serverless-type workload. >>> >>> Signed-off-by: Daniil Tatianin >>> ---

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-26 Thread Daniil Tatianin
On 4/26/24 11:39 AM, Markus Armbruster wrote: Daniil Tatianin writes: This can be used to force-synchronize the time in guest after a long stop-cont pause, which can be useful for serverless-type workload. Signed-off-by: Daniil Tatianin --- hw/rtc/mc146818rtc.c | 15 ++

Re: [PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-26 Thread Markus Armbruster
Daniil Tatianin writes: > This can be used to force-synchronize the time in guest after a long > stop-cont pause, which can be useful for serverless-type workload. > > Signed-off-by: Daniil Tatianin > --- > hw/rtc/mc146818rtc.c | 15 +++ > include/hw/rtc/mc146818rtc.h | 1 +

[PATCH] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-04-25 Thread Daniil Tatianin
This can be used to force-synchronize the time in guest after a long stop-cont pause, which can be useful for serverless-type workload. Signed-off-by: Daniil Tatianin --- hw/rtc/mc146818rtc.c | 15 +++ include/hw/rtc/mc146818rtc.h | 1 + qapi/misc-target.json| 16 +++