diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2018-07-24 12:46:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-03-01 08:22:50 +0000 |
commit | 5092db87e4dd97ba66b2afe3c69a82507244134d (patch) | |
tree | a5f17764d47d9c0585566b183f4766f7f89cfbcf /target/i386/machine.c | |
parent | f068930277347667125a10e9d8612a585d84738d (diff) | |
download | qemu-5092db87e4dd97ba66b2afe3c69a82507244134d.zip qemu-5092db87e4dd97ba66b2afe3c69a82507244134d.tar.gz qemu-5092db87e4dd97ba66b2afe3c69a82507244134d.tar.bz2 |
i386/xen: handle VCPUOP_register_runstate_memory_area
Allow guest to setup the vcpu runstates which is used as
steal clock.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'target/i386/machine.c')
-rw-r--r-- | target/i386/machine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/machine.c b/target/i386/machine.c index eb65790..3f3d436 100644 --- a/target/i386/machine.c +++ b/target/i386/machine.c @@ -1273,6 +1273,7 @@ static const VMStateDescription vmstate_xen_vcpu = { VMSTATE_UINT64(env.xen_vcpu_info_gpa, X86CPU), VMSTATE_UINT64(env.xen_vcpu_info_default_gpa, X86CPU), VMSTATE_UINT64(env.xen_vcpu_time_info_gpa, X86CPU), + VMSTATE_UINT64(env.xen_vcpu_runstate_gpa, X86CPU), VMSTATE_END_OF_LIST() } }; |