aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-06-17 09:22:52 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-27 02:13:26 -0400
commit5915100106b8f14a38053ad6c03a664d208aeaa2 (patch)
tree86117ec2860f0a1d1f16fd778ab2e53722871d33 /include/xen
parentc1c5413ad58cb73267d328e6020268aa2e50d8ca (diff)
x86: Call HVMOP_pagetable_dying on exit_mmap.
When a pagetable is about to be destroyed, we notify Xen so that the hypervisor can clear the related shadow pagetable. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/interface/hvm/hvm_op.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xen/interface/hvm/hvm_op.h b/include/xen/interface/hvm/hvm_op.h
index 73c8c7eba48d..a4827f46ee97 100644
--- a/include/xen/interface/hvm/hvm_op.h
+++ b/include/xen/interface/hvm/hvm_op.h
@@ -32,4 +32,15 @@ struct xen_hvm_param {
32}; 32};
33DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param); 33DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
34 34
35/* Hint from PV drivers for pagetable destruction. */
36#define HVMOP_pagetable_dying 9
37struct xen_hvm_pagetable_dying {
38 /* Domain with a pagetable about to be destroyed. */
39 domid_t domid;
40 /* guest physical address of the toplevel pagetable dying */
41 aligned_u64 gpa;
42};
43typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t;
44DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t);
45
35#endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */ 46#endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */