diff options
| author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-08-26 17:33:08 +0000 |
|---|---|---|
| committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-08-26 17:33:08 +0000 |
| commit | be0164f2e0af7968c6cba02085f3f54ef8683e91 (patch) | |
| tree | 0d25d9385dc49bec24276d3137b26e6c4f549932 /hw/apic.c | |
| parent | 70744b3ab889cd0d16992e1ad13fbde157c416ba (diff) | |
| download | focaccia-qemu-be0164f2e0af7968c6cba02085f3f54ef8683e91.tar.gz focaccia-qemu-be0164f2e0af7968c6cba02085f3f54ef8683e91.zip | |
Set apic instance number for savevm, by Ari Kivity.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3144 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/apic.c')
| -rw-r--r-- | hw/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apic.c b/hw/apic.c index f964360c86..d503d45f2b 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -832,7 +832,7 @@ int apic_init(CPUState *env) } 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; |