[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-ia64-devel
Subject:    [Xen-ia64-devel] Fix for xc_linux_build()
From:       John Byrne <john.l.byrne () hp ! com>
Date:       2005-08-25 22:37:47
Message-ID: 430E483B.40108 () hp ! com
[Download RAW message or body]

With the latest xen-ia64-devel, in xc_linux_build(), the flags field of 
the vcpu_guest_context_t is not getting set; this results in failures of 
DOM0_SETDOMAININFO on non-vmx hardware.

John Byrne


["xc_linux_build.patch" (text/x-patch)]

diff -r 5f1ed597f107 tools/libxc/xc_linux_build.c
--- a/tools/libxc/xc_linux_build.c	Wed Aug 24 02:43:18 2005
+++ b/tools/libxc/xc_linux_build.c	Thu Aug 25 15:41:06 2005
@@ -722,6 +722,7 @@
     if ( image != NULL )
         free(image);
 
+    ctxt->flags = 0;
 #ifdef __ia64__
     /* based on new_thread in xen/arch/ia64/domain.c */
     ctxt->regs.cr_ipsr = 0; /* all necessary bits filled by hypervisor */


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic