From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH 1/2] libxl: Wait until QEMU removed the device before tearing it down Date: Fri, 14 Nov 2014 16:38:11 -0500 Message-ID: <54667643.7010008@oracle.com> References: <1415661410-5191-1-git-send-email-boris.ostrovsky@oracle.com> <1415661410-5191-2-git-send-email-boris.ostrovsky@oracle.com> <21606.5282.659930.728522@mariner.uk.xensource.com> <54662004.6050702@oracle.com> <21606.10103.850619.644934@mariner.uk.xensource.com> <54662CB1.2050505@oracle.com> <21606.11847.373254.124439@mariner.uk.xensource.com> <156073497.20141114184534@eikelenboom.it> <21606.17650.686851.210458@mariner.uk.xensource.com> <433553573.20141114202453@eikelenboom.it> <54666F70.7020301@oracle.com> <1106502345.20141114222039@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1106502345.20141114222039@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com, Ian Jackson , ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 11/14/2014 04:20 PM, Sander Eikelenboom wrote: > Friday, November 14, 2014, 10:09:04 PM, you wrote: > > >> I don't know about detach but I apparently can't even properly attach a >> second device --- I get complaints about it already being in xenstore. >> But device does show up in the guest. >> And then I can't remove it because, well, it's not in xenstore. >> Maybe it has something to do with the fact that both devices are virtual >> functions of the same physical device. I might look at this sometime >> next week. > Ah .. virtual function as in virtual functions of a SR-IOV NIC ? > or the functions of a multi-function device (the later ends up as separate devices > in a HVM guest (assuming you use qemu-xen and not qemu-traditional)). Virtual functions of an SR-IOV NIC. I'd think they should show up as separate devices in xenstore. (And they do show up as separate devices in the guest) And qemu-xen. -boris