[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] Clear console page for sioemu
# HG changeset patch # User Alex Williamson <alex.williamson@xxxxxx> # Date 1203946041 25200 # Node ID 4a9f31bdfcc0b8f8d1ebca324db5fdfea52c4613 # Parent 07d9e9ca34f007b86d5df5090388551e557bf99f [IA64] Clear console page for sioemu This fixes a bug: by using pfn 0 for console, the page was not cleared, sometimes causing the domain to fail to boot. Signed-off-by: Tristan Gingold <tgingold@xxxxxxx> --- tools/libxc/ia64/xc_ia64_dom_fwloader.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff -r 07d9e9ca34f0 -r 4a9f31bdfcc0 tools/libxc/ia64/xc_ia64_dom_fwloader.c --- a/tools/libxc/ia64/xc_ia64_dom_fwloader.c Mon Feb 25 06:24:43 2008 -0700 +++ b/tools/libxc/ia64/xc_ia64_dom_fwloader.c Mon Feb 25 06:27:21 2008 -0700 @@ -58,9 +58,11 @@ static int alloc_magic_pages(struct xc_d static int alloc_magic_pages(struct xc_dom_image *dom) { /* allocate special pages */ - dom->console_pfn = 0; - dom->xenstore_pfn = 1; - dom->start_info_pfn = 2; + /* Note: do not use 0 for console or xenstore otherwise clear_page won't + clear the page. */ + dom->start_info_pfn = 0; + dom->console_pfn = 1; + dom->xenstore_pfn = 2; return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |