From: Andrew Cooper Date: Wed, 23 May 2018 16:53:17 +0000 (+0000) Subject: x86/vmx: Drop VMX signal for full real-mode X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3724 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95a86b2a0582b59ce9e736d45f9191b79d655cbf;p=xen.git x86/vmx: Drop VMX signal for full real-mode The hvmloader code which used this signal was deleted 10 years ago (c/s 50b12df83 "x86 vmx: Remove vmxassist"). Furthermore, the value gets discarded anyway because the HVM domain builder unconditionally sets %rax to 0 in the same action it uses to set %rip to the appropriate entrypoint. Signed-off-by: Andrew Cooper Acked-by: Kevin Tian Reviewed-by: Roger Pau Monné --- diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 610c8d6eb9..20a8a69fbe 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -462,10 +462,6 @@ static int vmx_vcpu_initialise(struct vcpu *v) vmx_install_vlapic_mapping(v); - /* %eax == 1 signals full real-mode support to the guest loader. */ - if ( v->vcpu_id == 0 ) - v->arch.user_regs.rax = 1; - return 0; }