]> xenbits.xensource.com Git - xen.git/commit
ioreq-server: remove p2m entries when server is enabled
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 2 Jun 2014 08:01:27 +0000 (10:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Jun 2014 08:01:27 +0000 (10:01 +0200)
commit85a787c97be0b80e429cd7cbba8448ebb9244aa5
treea12f8e623d7f192fded22542e09f6e9ee324fa74
parent434ae6517af2388572fa24c6c9904822cc75180b
ioreq-server: remove p2m entries when server is enabled

For secondary servers, add a hvm op to enable/disable the server. The
server will not accept IO until it is enabled and the act of enabling
the server removes its pages from the guest p2m, thus preventing the guest
from directly mapping the pages and synthesizing ioreqs.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/domain.h
xen/include/public/hvm/hvm_op.h