[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] Fix for xc_linux_build()




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

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.