[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add |
Date: |
Tue, 18 Jun 2013 10:56:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 18.06.2013 um 10:40 hat Paolo Bonzini geschrieben:
> Il 18/06/2013 08:37, Markus Armbruster ha scritto:
> > > If not, can we try to detect such case on opening
> > Gee, what a nice swamp you found there!
>
> It is a huge swamp indeed.
>
> Since we stop all block jobs on media change already, what about just
> adding a command "block-job-attach" or something like that which exposes
> the target of the job as a blockdev (presumably so that you can then add
> it to the NBD server)?
This is backwards. You should really give the block job a target BDS to
begin with, not a file name.
Kevin
Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add, Markus Armbruster, 2013/06/18