diff options
author | Zhenzhong Duan <zhenzhong.duan@oracle.com> | 2012-03-29 10:20:58 +0100 |
---|---|---|
committer | Zhenzhong Duan <zhenzhong.duan@oracle.com> | 2012-03-29 10:20:58 +0100 |
commit | 4865cebd3f8defdf958c379244484078a5bf4c98 (patch) | |
tree | 8e9ea6e4a9aca499f8a352ba89d7107dd2b9ed04 | |
parent | 9186bf1b0ac6e33073578f6b117d8b918c49cee2 (diff) | |
download | xen-4865cebd3f8defdf958c379244484078a5bf4c98.tar.gz xen-4865cebd3f8defdf958c379244484078a5bf4c98.tar.bz2 xen-4865cebd3f8defdf958c379244484078a5bf4c98.zip |
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@oracle.com>
Committed-by: Keir Fraser <keir@xen.org>
xen-unstable changeset: 24013:c4ed56a102dc
xen-unstable date: Fri Oct 28 17:20:21 2011 +0100
-rw-r--r-- | xen/arch/x86/hvm/hvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 109c72b3ea..84fc505640 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -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: |