From: Sander Eikelenboom Subject: Re: [PATCH 1/2] libxl: Wait until QEMU removed the device before tearing it down Date: Fri, 14 Nov 2014 22:50:00 +0100 Message-ID: <135104825.20141114225000@eikelenboom.it> 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> <54667643.7010008@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54667643.7010008@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Boris Ostrovsky 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 Friday, November 14, 2014, 10:38:11 PM, you wrote: > 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. Hmm i thought SR-IOV was in some aspects a special case, also thought i had seen some conversation between Jan and Konrad about SR-IOV and device removal the last week(s). But i don't have a SR-IOV capable NIC, so also no experiences related to that. > -boris