x86/hvm: Remove unnecessary is_hvm_domain() test in construct_vmcs()
PATCH 1/1 x86/hvm: Remove unnecessary is_hvm_domain() test in construct_vmcs()
It's a leftover from PVHv1 days.
Signed-off-by Boris Ostrovsky <[email protected]>
--- xen/arch/x86/hvm/vmx/vmcs.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)
xen/arch/x86/hvm/vmx/vmcs.c +3 -7
@@ -1271,14 +1271,10 @@ static int construct_vmcs(struct vcpu *v)vmx_vmcs_exit (v); -/* PVH: paging mode is updated by arch_set_info_guest(). */ -if (is_hvm_domain (d) ) - { -/* will update HOST & GUEST_CR3 as reqd */ -paging_update_paging_modes (v); +/* will update HOST & GUEST_CR3 as reqd */ +paging_update_paging_modes (v); -vmx_vlapic_msr_changed (v); - } +vmx_vlapic_msr_changed (v);return 0 ; }
Signature · 7 lines
1.8.3.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 3 lines · Boris Ostrovsky
It's a leftover from PVHv1 days.
Signed-off-by Boris Ostrovsky <[email protected]>
Reviewed-by Roger Pau Monné <[email protected]>
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 20.09.17 at 21:50, <[email protected]> wrote:
It's a leftover from PVHv1 days.
Signed-off-by Boris Ostrovsky <[email protected]>
I've applied this despite the still missing VMX maintainer ack, for it being simple enough. But in general it should be you to chase missing acks.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel