Re: [Xen-devel] [PATCH v7 4/7] x86/libelf: pass the destination vCPU to libelf for Dom0 build

2017-02-23 Thread Jan Beulich
>>> On 23.02.17 at 17:01, wrote: > On Thu, Feb 23, 2017 at 06:47:24AM -0700, Jan Beulich wrote: >> >>> On 22.02.17 at 15:24, wrote: >> > --- a/xen/common/libelf/libelf-loader.c >> > +++ b/xen/common/libelf/libelf-loader.c >> > @@ -146,6 +146,25 @@ void elf_set_verbose(struct elf_binary *elf) >> >

Re: [Xen-devel] [PATCH v7 4/7] x86/libelf: pass the destination vCPU to libelf for Dom0 build

2017-02-23 Thread Roger Pau Monne
On Thu, Feb 23, 2017 at 06:47:24AM -0700, Jan Beulich wrote: > >>> On 22.02.17 at 15:24, wrote: > > Allow setting the destination vCPU for libelf, so that elf_load_image can > > take > > it into account when loading the kernel for Dom0. This is needed for PVHv2 > > Dom0 > > build, so that hvm_co

Re: [Xen-devel] [PATCH v7 4/7] x86/libelf: pass the destination vCPU to libelf for Dom0 build

2017-02-23 Thread Jan Beulich
>>> On 22.02.17 at 15:24, wrote: > Allow setting the destination vCPU for libelf, so that elf_load_image can take > it into account when loading the kernel for Dom0. This is needed for PVHv2 > Dom0 > build, so that hvm_copy_to_guest_phys can be called with a Dom0 vCPU instead > of > current (tha

[Xen-devel] [PATCH v7 4/7] x86/libelf: pass the destination vCPU to libelf for Dom0 build

2017-02-22 Thread Roger Pau Monne
Allow setting the destination vCPU for libelf, so that elf_load_image can take it into account when loading the kernel for Dom0. This is needed for PVHv2 Dom0 build, so that hvm_copy_to_guest_phys can be called with a Dom0 vCPU instead of current (that contains the idle vCPU at this point). Signed