All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: Jinwenwu <wu.wujinwen@huawei.com>,
	Luonengjun <luonengjun@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
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 09:16:28 -0400	[thread overview]
Message-ID: <20130603131628.GK6893@phenom.dumpdata.com> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF190206C90149B@szxeml538-mbx.china.huawei.com>

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
> 

  parent reply	other threads:[~2013-06-03 13:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 11:23 [Qemu-devel] [PVSCSI]How to unplug scsi disk simulated by Qemu, just like unplug the ide disk? Gonglei (Arei)
2013-05-30 11:40 ` Laszlo Ersek
2013-05-30 11:40 ` Laszlo Ersek
2013-05-30 12:47 ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
     [not found]   ` <CAGKZqTBbjdw8+AH-PdXTefHyxKp+xQ+Hip13qB4BfZUU3rmpjg@mail.gmail.com>
     [not found]     ` <20130530132914.GA11427@reaktio.net>
     [not found]       ` <CAGKZqTA7x4Bhm9eNPb58QDRAhOjqXq0uMUcvB8kBr1rX2F2Rvw@mail.gmail.com>
     [not found]         ` <20130530134737.GB11427@reaktio.net>
     [not found]           ` <CAGKZqTCHwZxHsSQmzA-5uWEsynMVXeCQE_mOPufbb=o+Qk26wQ@mail.gmail.com>
2013-05-30 14:45             ` Pasi Kärkkäinen
2013-05-30 12:47 ` Pasi Kärkkäinen
2013-06-03 13:16 ` Konrad Rzeszutek Wilk
2013-06-03 13:16 ` Konrad Rzeszutek Wilk [this message]
2013-06-03 13:20   ` [Qemu-devel] [Xen-devel] " Gonglei (Arei)
2013-06-03 13:20   ` Gonglei (Arei)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130603131628.GK6893@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=arei.gonglei@huawei.com \
    --cc=luonengjun@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wu.wujinwen@huawei.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.