summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-12-10 17:42:18 +0200
committerAvi Kivity <avi@redhat.com>2009-12-10 17:42:18 +0200
commitc8fc2e486fb6306f998804f602a72ab41459cc7b (patch)
tree00d23e420015c11c158646cfa08eb2939ef1ce60 /target-i386
parenttpr patching: use cpu_synchronize_state() instead of saving registers directly (diff)
downloadqemu-kvm-c8fc2e486fb6306f998804f602a72ab41459cc7b.tar.gz
qemu-kvm-c8fc2e486fb6306f998804f602a72ab41459cc7b.tar.bz2
qemu-kvm-c8fc2e486fb6306f998804f602a72ab41459cc7b.zip
tpr patching: defer post-migration load to vcpu context
This makes sure the cpu state is properly loaded. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 31412a803..eddb4bd69 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -732,6 +732,8 @@ typedef struct CPUX86State {
uint16_t fpus_vmstate;
uint16_t fptag_vmstate;
uint16_t fpregs_format_vmstate;
+
+ int update_vapic;
} CPUX86State;
CPUX86State *cpu_x86_init(const char *cpu_model);