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 | |
parent | 70744b3ab889cd0d16992e1ad13fbde157c416ba (diff) | |
download | qemu-be0164f2e0af7968c6cba02085f3f54ef8683e91.zip qemu-be0164f2e0af7968c6cba02085f3f54ef8683e91.tar.gz qemu-be0164f2e0af7968c6cba02085f3f54ef8683e91.tar.bz2 |
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
-rw-r--r-- | hw/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |