Re: [Xen-devel] [PATCH] VMX: allocate APIC access page from domain heap

2015-12-17 Thread Jan Beulich
>>> On 18.12.15 at 07:29, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Wednesday, December 16, 2015 3:58 PM >> >> ... since we don't need its virtual address anywhere (it's a >> placeholder page only after all). For this wo work (and possibly be >> done elsewhere too) share_xe

Re: [Xen-devel] [PATCH] VMX: allocate APIC access page from domain heap

2015-12-17 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Wednesday, December 16, 2015 3:58 PM > > ... since we don't need its virtual address anywhere (it's a > placeholder page only after all). For this wo work (and possibly be > done elsewhere too) share_xen_page_with_guest() needs to mark pages >

Re: [Xen-devel] [PATCH] VMX: allocate APIC access page from domain heap

2015-12-16 Thread Jan Beulich
>>> On 16.12.15 at 13:11, wrote: > On 16/12/15 07:57, Jan Beulich wrote: >> Alternatives might be to use a >> - global (or perhaps per-node) page across VMs (on the basis that VMs >> shouldn't be writing into that page anyway) > > I am surprised by the concern about a zeroed page, yet not conce

Re: [Xen-devel] [PATCH] VMX: allocate APIC access page from domain heap

2015-12-16 Thread Andrew Cooper
On 16/12/15 07:57, Jan Beulich wrote: > ... since we don't need its virtual address anywhere (it's a > placeholder page only after all). For this wo work (and possibly be "to work" > done elsewhere too) share_xen_page_with_guest() needs to mark pages > handed to it as Xen heap ones. > > To be on

[Xen-devel] [PATCH] VMX: allocate APIC access page from domain heap

2015-12-15 Thread Jan Beulich
... since we don't need its virtual address anywhere (it's a placeholder page only after all). For this wo work (and possibly be done elsewhere too) share_xen_page_with_guest() needs to mark pages handed to it as Xen heap ones. To be on the safe side, also explicitly clear the page (not having don