[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Xen-devel] [PVSCSI]How to unplug scsi disk simulated b
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] [Xen-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu, just like unplug the ide disk? |
Date: |
Mon, 3 Jun 2013 13:20:40 +0000 |
> -----Original Message-----
> From: Konrad Rzeszutek Wilk [mailto:address@hidden
> Sent: Monday, June 03, 2013 9:16 PM
> To: Gonglei (Arei)
> Cc: address@hidden; address@hidden; Luonengjun; Jinwenwu
> Subject: Re: [Xen-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu,
> just like unplug the ide disk?
>
> 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).
>
Ok, thank you so much!
-Gonglei