From 6a2de353a969bdcb448ea977eca39401be312051 Mon Sep 17 00:00:00 2001 From: Alex Zeffertt Date: Thu, 9 Feb 2012 18:33:30 +0000 Subject: 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 Signed-off-by: Alex Zeffertt Signed-off-by: Daniel De Graaf Acked-by: Ian Campbell Cc: Ian Jackson Cc: Stefano Stabellini Committed-by: Ian Jackson --- tools/xcutils/xc_restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/xcutils') 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 ) -- cgit v1.2.3