[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] x86, hvm: enable VCPUOP_register_vcpu_info op in hvm hypercall



# HG changeset patch
# User Zhenzhong Duan <zhenzhong.duan@xxxxxxxxxx>
# Date 1333012858 -3600
# Node ID 13741fd6253bd74abd8fe6253838327745f23806
# Parent  c7729c73fefc776e82f574df445289cd6c6e0077
x86,hvm: enable VCPUOP_register_vcpu_info op in hvm hypercall

pvhvm running with more than 32 vcpus and pv_irq/pv_time enabled
need vcpu placement to work, or else it will softlockup.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@xxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   24013:c4ed56a102dc
xen-unstable date:        Fri Oct 28 17:20:21 2011 +0100
---


diff -r c7729c73fefc -r 13741fd6253b xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Thu Mar 29 10:19:56 2012 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Thu Mar 29 10:20:58 2012 +0100
@@ -2586,6 +2586,7 @@ static long hvm_vcpu_op(
     case VCPUOP_stop_periodic_timer:
     case VCPUOP_set_singleshot_timer:
     case VCPUOP_stop_singleshot_timer:
+    case VCPUOP_register_vcpu_info:
         rc = do_vcpu_op(cmd, vcpuid, arg);
         break;
     default:
@@ -2651,6 +2652,7 @@ static long hvm_vcpu_op_compat32(
     case VCPUOP_stop_periodic_timer:
     case VCPUOP_set_singleshot_timer:
     case VCPUOP_stop_singleshot_timer:
+    case VCPUOP_register_vcpu_info:
         rc = compat_vcpu_op(cmd, vcpuid, arg);
         break;
     default:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.