From: Keir Fraser Subject: Re: RE: [Xen-changelog] [xen-unstable] Adds 'memory_sharing' option to domain config scripts. It passes domain id to Date: Tue, 05 Jan 2010 16:08:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cui, Dexuan" , "xen-devel@lists.xensource.com" , Grzegorz Milos List-Id: xen-devel@lists.xenproject.org On 05/01/2010 15:59, "Cui, Dexuan" 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