From: Anthony Liguori <aligu...@amazon.com> This allows for proper accounting of steal time within the guest.
Signed-off-by: Anthony Liguori <aligu...@amazon.com> --- xen/common/domain.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xen/common/domain.c b/xen/common/domain.c index ede377c..780f8ff 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -1414,6 +1414,12 @@ long do_vcpu_op(int cmd, unsigned int vcpuid, XEN_GUEST_HANDLE_PARAM(void) arg) if ( !guest_handle_okay(area.addr.h, 1) ) break; + if ( is_vixen() ) { + rc = HYPERVISOR_vcpu_op(VCPUOP_register_runstate_memory_area, + vcpuid, &area); + break; + } + rc = 0; runstate_guest(v) = area.addr.h; -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel