qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] xen-platform: disk unplug modifications
@ 2017-01-24 14:05 Paul Durrant
  2017-01-24 14:05 ` [Qemu-devel] [PATCH v2 1/3] xen-platform: re-structure unplug_disks Paul Durrant
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Paul Durrant @ 2017-01-24 14:05 UTC (permalink / raw)
  To: qemu-devel, xen-devel; +Cc: Paul Durrant

These patches modify the implementation of Xen HVM disk unplug.

Paul Durrant (3):
  xen-platform: re-structure unplug_disks
  xen-platform: add support for unplugging NVMe disks...
  xen-platform: add missing disk unplug option

 hw/i386/xen/xen_platform.c | 50 +++++++++++++++++++++++++++-------------------
 hw/ide/piix.c              |  4 ++--
 include/hw/ide.h           |  2 +-
 3 files changed, 33 insertions(+), 23 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks...
@ 2017-01-25 18:21 Paul Durrant
  2017-01-25 18:28 ` Stefano Stabellini
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Durrant @ 2017-01-25 18:21 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: qemu-devel@nongnu.org, xen-devel, Anthony Perard,
	Michael S. Tsirkin, Paolo Bonzini, Richard Henderson,
	Eduardo Habkost, olaf@aepfle.de

On 25 January 2017, at 17:54, Stefano Stabellini <sstabellini@kernel.org> wrote:

>
>
>On Wed, 25 Jan 2017, Paul Durrant wrote:
>> > -----Original Message-----
>> > From: Stefano Stabellini [mailto:sstabellini@kernel.org]
>> > Sent: 24 January 2017 23:49
>> > To: Paul Durrant <Paul.Durrant@citrix.com>
>> > Cc: qemu-devel@nongnu.org; xen-devel@lists.xenproject.org; Stefano
>> > Stabellini <sstabellini@kernel.org>; Anthony Perard
>> > <anthony.perard@citrix.com>; Michael S. Tsirkin <mst@redhat.com>; Paolo
>> > Bonzini <pbonzini@redhat.com>; Richard Henderson <rth@twiddle.net>;
>> > Eduardo Habkost <ehabkost@redhat.com>; olaf@aepfle.de
>> > Subject: Re: [PATCH v2 2/3] xen-platform: add support for unplugging NVMe
>> > disks...
>> >
>> > On Tue, 24 Jan 2017, Paul Durrant wrote:
>> > > ...not just IDE and SCSI.
>> > >
>> > > This patch allows the Xen tool-stack to fully support of NVMe as an
>> > > emulated disk type.
>> > >
>> > > Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
>> >
>> > Please update docs/misc/hvm-emulated-unplug.markdown in the Xen
>> > repository first. It might be also worth clarifying that `1` actually
>> > means all disks, not just IDE disks. Then, please add a reference to
>> > that commit in the description of this patch.
>> >
>>
>> Patch posted to remove 'IDE' from the documentation for value '1'. Awaiting ack.
>Done.
>When you repost this patch, could you also add to the description a
>reference to the commit that enables NVMe in QEMU with Xen? I guess it
>is a libxl commit?

I think there is a chicken and egg issue here. Wei wanted to ensure that QEMU is able to unplug NVMe drives before accepting my patch to libxl.

  Paul

>> > > ---
>> > > Cc: Stefano Stabellini <sstabellini@kernel.org>
>> > > Cc: Anthony Perard <anthony.perard@citrix.com>
>> > > Cc: "Michael S. Tsirkin" <mst@redhat.com>
>> > > Cc: Paolo Bonzini <pbonzini@redhat.com>
>> > > Cc: Richard Henderson <rth@twiddle.net>
>> > > Cc: Eduardo Habkost <ehabkost@redhat.com>
>> > > ---
>> > >  hw/i386/xen/xen_platform.c | 1 +
>> > >  1 file changed, 1 insertion(+)
>> > >
>> > > diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c
>> > > index f50915f..7d41ebb 100644
>> > > --- a/hw/i386/xen/xen_platform.c
>> > > +++ b/hw/i386/xen/xen_platform.c
>> > > @@ -120,6 +120,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d,
>> > void *o)
>> > >          break;
>> > >
>> > >      case PCI_CLASS_STORAGE_SCSI:
>> > > +    case PCI_CLASS_STORAGE_EXPRESS:
>> > >          object_unparent(OBJECT(d));
>> > >          break;
>> > >
>> > > --
>> > > 2.1.4
>> > >
>>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-25 18:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 14:05 [Qemu-devel] [PATCH v2 0/3] xen-platform: disk unplug modifications Paul Durrant
2017-01-24 14:05 ` [Qemu-devel] [PATCH v2 1/3] xen-platform: re-structure unplug_disks Paul Durrant
2017-01-24 23:48   ` Stefano Stabellini
2017-01-24 14:05 ` [Qemu-devel] [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks Paul Durrant
2017-01-24 23:48   ` Stefano Stabellini
2017-01-25 11:12     ` Paul Durrant
2017-01-25 17:54       ` Stefano Stabellini
2017-01-24 14:05 ` [Qemu-devel] [PATCH v2 3/3] xen-platform: add missing disk unplug option Paul Durrant
2017-01-24 23:50   ` Stefano Stabellini
  -- strict thread matches above, loose matches on Subject: below --
2017-01-25 18:21 [Qemu-devel] [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks Paul Durrant
2017-01-25 18:28 ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).