xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xen 4.0 is broken on 32bit
@ 2010-07-07 23:04 Huang2, Wei
  2010-07-08  7:02 ` Keir Fraser
  2010-07-08  9:05 ` Keir Fraser
  0 siblings, 2 replies; 3+ messages in thread
From: Huang2, Wei @ 2010-07-07 23:04 UTC (permalink / raw)
  To: Keir Fraser, tim.deegan@citrix.com; +Cc: xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 705 bytes --]

The changset 21229 breaks Xen 4.0.1 tree on 32bit environment. Starting a guest VM will throw out an error as "Error: (38, 'Function not implemented')". Apparently, the hypercall to mem_sharing_op is missing for 32bit environment due to 21229.  The following small patch can fix this issue.

Thanks,
-Wei



diff -r afe5a6a8b8df xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c     Fri Jul 02 22:04:32 2010 +0100
+++ b/xen/arch/x86/domctl.c     Wed Jul 07 11:51:26 2010 -0500
@@ -1449,6 +1449,11 @@
         }
     }
     break;
+#else
+    case XEN_DOMCTL_mem_event_op:
+    case XEN_DOMCTL_mem_sharing_op:
+        ret = 0;
+        break;
 #endif /* __x86_64__ */

     default:

[-- Attachment #1.2: Type: text/html, Size: 3523 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-08  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 23:04 Xen 4.0 is broken on 32bit Huang2, Wei
2010-07-08  7:02 ` Keir Fraser
2010-07-08  9:05 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).