qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Set apic instance number for savevm


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Set apic instance number for savevm
Date: Sun, 19 Aug 2007 14:12:43 +0300
User-agent: Thunderbird 2.0.0.0 (X11/20070419)

Avi Kivity wrote:
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;


Fabrice or Thiemo, can you take a look at this patch?

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]