summaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2013-02-19 23:27:20 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2013-04-17 23:27:24 -0300
commit917367aa968fd4fef29d340e0c7ec8c608dffaab (patch)
treee3d7ad3f079a695f4389c41a29a31106f3aa43ee /target-i386/cpu.h
parent614413f7f9a88d97ab40ecabd1c7920fb288f820 (diff)
downloadqemu-917367aa968fd4fef29d340e0c7ec8c608dffaab.tar.gz
qemu-917367aa968fd4fef29d340e0c7ec8c608dffaab.tar.bz2
qemu-917367aa968fd4fef29d340e0c7ec8c608dffaab.zip
target-i386: kvm: save/restore steal time MSR
Read and write steal time MSR, so that reporting is functional across migration. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index cf1b05c28c..a1614e8e50 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -803,6 +803,7 @@ typedef struct CPUX86State {
#endif
uint64_t system_time_msr;
uint64_t wall_clock_msr;
+ uint64_t steal_time_msr;
uint64_t async_pf_en_msr;
uint64_t pv_eoi_en_msr;