[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu, just
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu, just like unplug the ide disk? |
Date: |
Thu, 30 May 2013 13:40:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Thunderbird/17.0.6 |
On 05/30/13 13:23, 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!
Unless I'm misunderstanding you (which is more likely than not):
emulated devices (eg. NIC and IDE disks) are unplugged by the guest
kernel. See "arch/x86/xen/platform-pci-unplug.c".
The qemu side seems to be in "hw/xen/xen_platform.c".
Laszlo