* [PATCH] Set apic instance number for savevm
@ 2007-08-13 15:57 Avi Kivity
0 siblings, 0 replies; only message in thread
From: Avi Kivity @ 2007-08-13 15:57 UTC (permalink / raw)
To: qemu-devel-qX2TKyscuCcdnm+yROfE0A
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
This allows save/restore (and live migration on kvm) of smp guests.
Index: hw/apic.c
===================================================================
RCS file: /sources/qemu/qemu/hw/apic.c,v
retrieving revision 1.13
diff -u -r1.13 apic.c
--- hw/apic.c 3 Apr 2007 16:38:34 -0000 1.13
+++ hw/apic.c 13 Aug 2007 15:54:50 -0000
@@ -832,7 +832,7 @@
}
s->timer = qemu_new_timer(vm_clock, apic_timer, s);
- register_savevm("apic", 0, 2, apic_save, apic_load, s);
+ register_savevm("apic", s->id, 2, apic_save, apic_load, s);
qemu_register_reset(apic_reset, s);
local_apics[s->id] = s;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-13 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 15:57 [PATCH] Set apic instance number for savevm Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox