Am 24.04.2013 19:03, schrieb Andreas Färber: > Am 23.04.2013 10:29, schrieb Igor Mammedov: >> it provides updated currently available CPUs count to BIOS on reboot >> >> Signed-off-by: Igor Mammedov <imamm...@redhat.com> >> --- >> v2: >> * reorder fields in rtc_cpu_hotplug_arg, make cpu_added_notifier first. >> * rebase on top of "mc146818rtc: QOM'ify" and use QOM style cast >> --- >> hw/i386/pc.c | 20 ++++++++++++++++++++ >> hw/timer/mc146818rtc.c | 7 +++++++ >> include/hw/timer/mc146818rtc.h | 1 + >> 3 files changed, 28 insertions(+), 0 deletions(-) >> >> diff --git a/hw/i386/pc.c b/hw/i386/pc.c >> index 0d6e72b..bbc3bea 100644 >> --- a/hw/i386/pc.c >> +++ b/hw/i386/pc.c >> @@ -338,6 +338,21 @@ static void pc_cmos_init_late(void *opaque) >> qemu_unregister_reset(pc_cmos_init_late, opaque); >> } >> >> +typedef struct rtc_cpu_hotplug_arg { >> + Notifier cpu_added_notifier; >> + ISADevice *rtc_state; >> +} rtc_cpu_hotplug_arg; > > RTCCPUHotplugArg?
Igor agreed to this variant on IRC. Thanks, applied to qom-cpu: https://github.com/afaerber/qemu-cpu/commits/qom-cpu Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg