From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUct-0000G0-KO for qemu-devel@nongnu.org; Mon, 03 Jun 2013 09:16:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjUcp-0004LD-07 for qemu-devel@nongnu.org; Mon, 03 Jun 2013 09:16:43 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:23238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUco-0004L4-QU for qemu-devel@nongnu.org; Mon, 03 Jun 2013 09:16:38 -0400 Date: Mon, 3 Jun 2013 09:16:28 -0400 From: Konrad Rzeszutek Wilk Message-ID: <20130603131628.GK6893@phenom.dumpdata.com> References: <33183CC9F5247A488A2544077AF190206C90149B@szxeml538-mbx.china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33183CC9F5247A488A2544077AF190206C90149B@szxeml538-mbx.china.huawei.com> Subject: Re: [Qemu-devel] [Xen-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu, just like unplug the ide disk? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gonglei (Arei)" Cc: Jinwenwu , Luonengjun , "qemu-devel@nongnu.org" , "xen-devel@lists.xen.org" On Thu, May 30, 2013 at 11:23:44AM +0000, Gonglei (Arei) wrote: > Hi all, > My environment is xen-4.1.2 + qemu-1.2.2 > I made a pvscsi driver for Redhat guest, but I encountered a problem that I could see two scsi disks, one was simulated by QEMU, another was passthrough. > Actually I want to unplug the scsi disk simulated. Any methods can solve the problem on the qemu upstream. Thanks! I would suggest you look at arch/x86/xen/platform-pci-unplug.c which tells QEMU to unplug the IDE driver. You could implement a similar mechanism in QEMU (and in the Linux kernel). > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >