Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Andrew Cooper
On 02/04/15 13:43, Jürgen Groß wrote: > On 04/02/2015 01:50 PM, Andrew Cooper wrote: >> On 02/04/15 11:42, Ian Campbell wrote: >>> On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: This is needed for performing save/restore of PV guests. >>> It's quite a big interface though, isn't it?

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Jürgen Groß
On 04/02/2015 01:50 PM, Andrew Cooper wrote: On 02/04/15 11:42, Ian Campbell wrote: On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: This is needed for performing save/restore of PV guests. It's quite a big interface though, isn't it? Could we restrict it to a subset of the operation

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Andrew Cooper
On 02/04/15 11:42, Ian Campbell wrote: > On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: >> This is needed for performing save/restore of PV guests. > It's quite a big interface though, isn't it? > > Could we restrict it to a subset of the operations perhaps? Or at least > justify here ho

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Roger Pau Monné
El 02/04/15 a les 12.42, Ian Campbell ha escrit: > On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: >> This is needed for performing save/restore of PV guests. > > It's quite a big interface though, isn't it? AFAICT it contains MMU_NORMAL_PT_UPDATE, MMU_PT_UPDATE_PRESERVE_AD and MMU_MACH

Re: [Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Ian Campbell
On Thu, 2015-04-02 at 12:26 +0200, Roger Pau Monne wrote: > This is needed for performing save/restore of PV guests. It's quite a big interface though, isn't it? Could we restrict it to a subset of the operations perhaps? Or at least justify here how it has been audited and found to be safe to al

[Xen-devel] [PATCH RFC v2 1/3] xen/pvh: enable mmu_update hypercall

2015-04-02 Thread Roger Pau Monne
This is needed for performing save/restore of PV guests. Signed-off-by: Roger Pau Monné Cc: Tim Deegan Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/hvm/hvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 3ff87c6..11680ba 100644