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

Re: [Xen-devel] RE: [Xen-changelog] [xen-unstable] Adds 'memory_sharing' option to domain config scripts. It passes domain id to



On 05/01/2010 15:59, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> Hi, the changeset breaks guest creation in shadow mode:
> In image.py, xc.dom_set_memshr(self.vm.getDomid(), self.memory_sharing) would
> fail because
> in pyxc_dom_set_memshr():
>     if (xc_memshr_control(self->xc_handle, dom, enable) != 0)
>         return pyxc_error_to_exception();
> and in hypervisor's mem_sharing_domctl(),
>         case XEN_DOMCTL_MEM_SHARING_OP_CONTROL:
>         {
>             rc = 0;
>             if(!hap_enabled(d))
>                 return -EINVAL;  ----> this would fail xc.dom_set_memshr() so

Yes, we need a fix for this before 4.0-rc1 of course.

 -- Keir



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


 


Rackspace

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