properly save kvm system time msr registersqemu-0.11.0-8.fc12qemu-0.11.0-8.fc13
authorGlauber Costa <glommer@redhat.com>
Wed, 21 Oct 2009 14:52:46 +0000 (10:52 -0400)
committerMark McLoughlin <markmc@redhat.com>
Thu, 29 Oct 2009 11:27:45 +0000 (11:27 +0000)
commit1c3ea4df653c7b71df0a12184c747a517330c408
tree8ac847e8c1f13e69c485a5731eebb2687a67f264
parent7834349cfcc68b946c0d241ffd99c598857e489b
properly save kvm system time msr registers

Currently, the msrs involved in setting up pvclock are not saved over
migration and/or save/restore. This patch puts their value in special
fields in our CPUState, and deal with them using vmstate.

kvm also has to account for it, by including them in the msr list
for the ioctls.

Fedora-patch: qemu-properly-save-kvm-system-time-registers.patch
Signed-off-by: Glauber Costa <glommer@redhat.com>
qemu-kvm-x86.c
target-i386/cpu.h
target-i386/machine.c