Re: [PATCH v2 for-8.0] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-11 Thread Thomas Huth
On 10/12/2022 14.48, Mark Cave-Ayland wrote: On 09/12/2022 11:15, Thomas Huth wrote: The only reason for this code being target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). Since these apic functions are rather simple, we can easily move them into a new, separate file (a

Re: [PATCH 04/30] configure: preserve qemu-ga variables

2022-12-11 Thread Marc-André Lureau
On Fri, Dec 9, 2022 at 3:28 PM Paolo Bonzini wrote: > > Ensure that qemu-ga variables set at configure time are kept > later when the script is rerun. For preserve_env to work, > the variables need to be empty so move the default values > to config-host.mak generation. > > Signed-off-by: Paolo Bo

[PATCH v3] hw/rtc/mc146818rtc: Make this rtc device target independent

2022-12-11 Thread Thomas Huth
The only reason for this code being target dependent is the apic-related code in rtc_policy_slew_deliver_irq(). Since these apic functions are rather simple, we can easily move them into a new, separate file (apic_irqcount.c) which will always be compiled and linked if either APIC or the mc146818 d

Re: [PATCH 05/30] configure: remove backwards-compatibility and obsolete options

2022-12-11 Thread Marc-André Lureau
On Fri, Dec 9, 2022 at 3:43 PM Paolo Bonzini wrote: > > Signed-off-by: Paolo Bonzini Reviewed-by: Marc-André Lureau > --- > configure | 20 > 1 file changed, 20 deletions(-) > > diff --git a/configure b/configure > index 4d14ff9c319c..adfff30a6204 100755 > --- a/configur

<    1   2