diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-09 18:33:34 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-09 18:33:34 +0000 |
commit | f5f38f9f51d3dcf214d1035f8c23b2c2004243eb (patch) | |
tree | 3d04dae6798afdeb923a105f7999dfee2130c473 /tools/xenstore/xenstored_domain.c | |
parent | 47a365c7f287dd670b95f3ac206a815c3043d5fe (diff) | |
download | xen-f5f38f9f51d3dcf214d1035f8c23b2c2004243eb.tar.gz xen-f5f38f9f51d3dcf214d1035f8c23b2c2004243eb.tar.bz2 xen-f5f38f9f51d3dcf214d1035f8c23b2c2004243eb.zip |
xenstored: support running in minios stubdom
A previous versions of this patch has been sent to xen-devel. See
http://lists.xensource.com/archives/html/xen-devel/2009-03/msg01655.html
Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstore/xenstored_domain.c')
-rw-r--r-- | tools/xenstore/xenstored_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_domain.c b/tools/xenstore/xenstored_domain.c index c521e527a4..62069612b7 100644 --- a/tools/xenstore/xenstored_domain.c +++ b/tools/xenstore/xenstored_domain.c @@ -200,7 +200,7 @@ static int destroy_domain(void *_domain) /* Domain 0 was mapped by dom0_init, so it must be unmapped using munmap() and not the grant unmap call. */ if (domain->domid == 0) - munmap(domain->interface, getpagesize()); + unmap_xenbus(domain->interface); else unmap_interface(domain->interface); } |