From: Kevin Wolf <kwolf@redhat.com>
To: Jeff Cody <jcody@redhat.com>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH] block: add bdrv_reopen() support for raw hdev devices
Date: Mon, 19 Nov 2012 16:45:42 +0100 [thread overview]
Message-ID: <50AA5426.3060203@redhat.com> (raw)
In-Reply-To: <9cdf58cc9d0e9476a0d549176f14e6f40bbb7d51.1353339221.git.jcody@redhat.com>
Am 19.11.2012 16:37, schrieb Jeff Cody:
> The host device reopen handler for raw-posix is the same as the file reopen
> handler.
>
> Signed-off-by: Jeff Cody <jcody@redhat.com>
> ---
> block/raw-posix.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/block/raw-posix.c b/block/raw-posix.c
> index f2f0404..c7061e6 100644
> --- a/block/raw-posix.c
> +++ b/block/raw-posix.c
> @@ -1409,6 +1409,9 @@ static BlockDriver bdrv_host_device = {
> .bdrv_probe_device = hdev_probe_device,
> .bdrv_file_open = hdev_open,
> .bdrv_close = raw_close,
> + .bdrv_reopen_prepare = raw_reopen_prepare,
> + .bdrv_reopen_commit = raw_reopen_commit,
> + .bdrv_reopen_abort = raw_reopen_abort,
> .bdrv_create = hdev_create,
> .create_options = raw_create_options,
> .bdrv_has_zero_init = hdev_has_zero_init,
>
What about host_floppy and (twice) host_cdrom?
Kevin
next prev parent reply other threads:[~2012-11-19 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 15:37 [Qemu-devel] [PATCH] block: add bdrv_reopen() support for raw hdev devices Jeff Cody
2012-11-19 15:45 ` Kevin Wolf [this message]
2012-11-19 16:16 ` Jeff Cody
2012-11-19 16:19 ` Kevin Wolf
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=50AA5426.3060203@redhat.com \
--to=kwolf@redhat.com \
--cc=jcody@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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.