On Fri, Jun 17, 2011 at 9:36 AM, Kevin Wolf <kw...@redhat.com> wrote: > By the way, we'll get problems with the colon syntax. Without -blockdev > we'll have to invent a new syntax, maybe with brackets: > > blkstream:[nbd:localhost]:out.qcow2
Embedding block driver options in filenames is getting worse as time goes on. I recently tried to refactor and eliminate QEMUOptionParameter so that we only use QemuOpts instead of two different option APIs. Part of that involves keeping separate per-block driver (i.e. -blockdev) options lists, which would allow us to pass proper options to block drivers instead of embedding them in the filename. I got stuck because today the protocol and format QEMUOptionParameters get concatenated in some cases. Concatenation is not really supported by QemuOpts :). Anyway, here's the current state if anyone is interested: http://repo.or.cz/w/qemu/stefanha.git/commitdiff/b49babb2c8b476a36357cfd7276ca45a11039ca5 Stefan