properly save kvm system time msr registers
commit11ed4b344c0eb6f1c5d11a07c307e94174a13900
authorGlauber Costa <glommer@redhat.com>
Fri, 16 Oct 2009 19:27:38 +0000 (16 15:27 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 19 Oct 2009 19:49:04 +0000 (19 17:49 -0200)
tree546d56749cda473f81c5c0a39e2bd39ed602508a
parente4d6d49061b45e7134437cdd5bae2d443eedc3bc
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.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
qemu-kvm-x86.c
target-i386/cpu.h
target-i386/machine.c