[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Add DOM0_DOMAIN_SETUP hypercall.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 0991ed8e4ae577d72b841d85d1cf414a224af172 # Parent 2a99292b1a8aa74ca1abb90e2915f4adcb640eb8 Add DOM0_DOMAIN_SETUP hypercall. Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx> [I fiddled with the flags prefix after all. :-) Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>] --- xen/include/public/dom0_ops.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+) diff -r 2a99292b1a8a -r 0991ed8e4ae5 xen/include/public/dom0_ops.h --- a/xen/include/public/dom0_ops.h Mon Jun 19 14:44:34 2006 +0100 +++ b/xen/include/public/dom0_ops.h Mon Jun 19 16:39:27 2006 +0100 @@ -513,6 +513,19 @@ struct dom0_hypercall_init { }; typedef struct dom0_hypercall_init dom0_hypercall_init_t; DEFINE_XEN_GUEST_HANDLE(dom0_hypercall_init_t); + +#define DOM0_DOMAIN_SETUP 49 +#define _XEN_DOMAINSETUP_hvm_guest 0 +#define XEN_DOMAINSETUP_hvm_guest (1UL<<_XEN_DOMAINSETUP_hvm_guest) +typedef struct dom0_domain_setup { + domid_t domain; /* domain to be affected */ + unsigned long flags; /* XEN_DOMAINSETUP_* */ +#ifdef __ia64__ + unsigned long bp; /* mpaddr of boot param area */ + unsigned long maxmem; /* Highest memory address for MDT. */ +#endif +} dom0_domain_setup_t; +DEFINE_XEN_GUEST_HANDLE(dom0_domain_setup_t); struct dom0_op { uint32_t cmd; @@ -555,6 +568,7 @@ struct dom0_op { struct dom0_irq_permission irq_permission; struct dom0_iomem_permission iomem_permission; struct dom0_hypercall_init hypercall_init; + struct dom0_domain_setup domain_setup; uint8_t pad[128]; } u; }; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |