Re: [Xen-devel] [PATCH] x86/svm: Use physical addresses for HSA and Host VMCB

2017-08-16 Thread Boris Ostrovsky
On 08/16/2017 02:23 PM, Andrew Cooper wrote: > They are only referenced by physical address (either the HSA MSR, or via > VMSAVE/VMLOAD which take a physical operand). Allocating xenheap hages and > storing their virtual address is wasteful. > > Allocate them with domheap pages instead, taking the

[Xen-devel] [PATCH] x86/svm: Use physical addresses for HSA and Host VMCB

2017-08-16 Thread Andrew Cooper
They are only referenced by physical address (either the HSA MSR, or via VMSAVE/VMLOAD which take a physical operand). Allocating xenheap hages and storing their virtual address is wasteful. Allocate them with domheap pages instead, taking the opportunity to suitably NUMA-position them. This avo