qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <famz@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH 0/2] block: support drive_del with dataplane
Date: Mon, 18 Aug 2014 16:07:11 +0100	[thread overview]
Message-ID: <1408374433-5360-1-git-send-email-stefanha@redhat.com> (raw)

This series makes hot unplug work with virtio-blk dataplane devices.  It should
also work with Fam's virtio-scsi dataplane patches.

Up until now dataplane installed an op blocker that prevented drive_del.
Thanks to the op blocker and AioContext acquire/release infrastructure we can
now make drive_del safe.

Stefan Hajnoczi (2):
  block: acquire AioContext in do_drive_del()
  virtio-blk: allow drive_del with dataplane

 blockdev.c                      | 7 +++++++
 hw/block/dataplane/virtio-blk.c | 1 +
 2 files changed, 8 insertions(+)

-- 
1.9.3

             reply	other threads:[~2014-08-18 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 15:07 Stefan Hajnoczi [this message]
2014-08-18 15:07 ` [Qemu-devel] [PATCH 1/2] block: acquire AioContext in do_drive_del() Stefan Hajnoczi
2014-08-18 15:07 ` [Qemu-devel] [PATCH 2/2] virtio-blk: allow drive_del with dataplane Stefan Hajnoczi
2014-08-20  1:39 ` [Qemu-devel] [PATCH 0/2] block: support " Fam Zheng

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=1408374433-5360-1-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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 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).