]> xenbits.xensource.com Git - xen.git/commitdiff
x86,hvm: enable VCPUOP_register_vcpu_info op in hvm hypercall
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Fri, 28 Oct 2011 16:20:21 +0000 (17:20 +0100)
committerZhenzhong Duan <zhenzhong.duan@oracle.com>
Fri, 28 Oct 2011 16:20:21 +0000 (17:20 +0100)
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@oracle.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c

index ab7763b4ba670909ca03b919fb580bdf8d7e8f3e..8c0f744461955608fce63906021af076e6e3be2b 100644 (file)
@@ -2794,6 +2794,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:
@@ -2869,6 +2870,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: