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: