diff options
author | Alex Zeffertt <alex.zeffertt@eu.citrix.com> | 2012-02-09 18:33:30 +0000 |
---|---|---|
committer | Alex Zeffertt <alex.zeffertt@eu.citrix.com> | 2012-02-09 18:33:30 +0000 |
commit | 6a2de353a969bdcb448ea977eca39401be312051 (patch) | |
tree | 34a84e2f65370b5eb1d7a44b9de51195c733e398 /tools/xcutils | |
parent | 9b4964de7c6fa69a28688685bc9531f9408cf58b (diff) | |
download | xen-6a2de353a969bdcb448ea977eca39401be312051.tar.gz xen-6a2de353a969bdcb448ea977eca39401be312051.tar.bz2 xen-6a2de353a969bdcb448ea977eca39401be312051.zip |
lib{xc,xl}: Seed grant tables with xenstore and console grants
This patch claims one reserved grant entry for the console and another
for the xenstore. It modifies the builder to fill in the grant table
entries for the console and the xenstore.
Previous versions of this patch have been sent to xen-devel. See
http://lists.xensource.com/archives/html/xen-devel/2008-07/msg00610.html
http://lists.xensource.com/archives/html/xen-devel/2009-03/msg01491.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/xcutils')
-rw-r--r-- | tools/xcutils/xc_restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xcutils/xc_restore.c b/tools/xcutils/xc_restore.c index 63d53a88b0..e41a133732 100644 --- a/tools/xcutils/xc_restore.c +++ b/tools/xcutils/xc_restore.c @@ -45,8 +45,8 @@ main(int argc, char **argv) else superpages = !!hvm; - ret = xc_domain_restore(xch, io_fd, domid, store_evtchn, &store_mfn, - console_evtchn, &console_mfn, hvm, pae, superpages, + ret = xc_domain_restore(xch, io_fd, domid, store_evtchn, &store_mfn, 0, + console_evtchn, &console_mfn, 0, hvm, pae, superpages, 0, NULL); if ( ret == 0 ) |