From: Sander Eikelenboom Subject: Re: PCI-passthrough: After VM shutdown and start again, device has been assigned to another domain! Over-writting the ownership, but beware. Date: Mon, 20 Sep 2010 22:32:46 +0200 Message-ID: <77765272.20100920223246@eikelenboom.it> References: <1882966220.20100914163633@eikelenboom.it> <20100920201612.GA26085@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100920201612.GA26085@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Monday, September 20, 2010, 10:16:12 PM, you wrote: > On Tue, Sep 14, 2010 at 04:36:33PM +0200, Sander Eikelenboom wrote: >> Hello Konrad, >>=20 >> When i shutdown a VM with a pci device passed through, and after shutdow= n start it again, i get: >> [ 519.646961] pciback 0000:02:00.0: device has been assigned to another= domain! Over-writting the ownership, but beware. >>=20 >> Which i don't get the first time, could this mean not everything is clea= ned up ok after the shutdown ? > Right. It means that somehow the frontend device didn't move to Closing' = state > for the specific device (look for 'state-X'). It should have been set by = the Xen > tools to the appropiate value. Are you using 'xl' or the old 'xm'? Is thi= s the first > time this has showed up? I'm still using 'xm' in an attempt to not change really everything i do at = once :-) For what i recall, i have seen it before, but didn't pay to much attention = to it. Where do i have to look for the "state-X" ? Then I will check it out again. >>=20 >> -- >> Sander