qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add
Date: Tue, 18 Jun 2013 17:12:31 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, 06/18 10:40, Paolo Bonzini wrote:
> 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)?
> 

In fact block job target BDS is already created when job started, so
it's rather about finding a way to "query" the target BDS name, or get
it as command return value, than attach a blockdev. Once we have the
device name, we can add it to the NBD server.

-- 
Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]