Re: [Xen-devel] [PATCH 3/3] x86/svm: add virtual VMLOAD/VMSAVE support

2017-10-31 Thread Brian Woods
On Tue, Oct 31, 2017 at 10:15:08PM +, Andrew Cooper wrote: > > The style in this file is quite hit and miss, but we expect new code to > conform to the standards.  In this case, the correct style is: > > if ( cpu_has_svm_vloadsave ) > { > > This can be fixed on commit if there are no other c

Re: [Xen-devel] [PATCH 3/3] x86/svm: add virtual VMLOAD/VMSAVE support

2017-10-31 Thread Andrew Cooper
On 31/10/17 22:03, brian.wo...@amd.com wrote: > From: Brian Woods > > On AMD family 17h server processors, there is a feature called virtual > VMLOAD/VMSAVE. This allows a nested hypervisor to preform a VMLOAD or > VMSAVE without needing to be intercepted by the host hypervisor. > Virtual VMLOAD/

[Xen-devel] [PATCH 3/3] x86/svm: add virtual VMLOAD/VMSAVE support

2017-10-31 Thread brian . woods
From: Brian Woods On AMD family 17h server processors, there is a feature called virtual VMLOAD/VMSAVE. This allows a nested hypervisor to preform a VMLOAD or VMSAVE without needing to be intercepted by the host hypervisor. Virtual VMLOAD/VMSAVE requires the host hypervisor to be in long mode an