|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH 4/5] QemuOpts: add -drive-set option |
Date: | Thu, 30 Jul 2009 16:35:08 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/30/09 15:58, Anthony Liguori wrote:
Gerd Hoffmann wrote:The typical use case will be file (no filename quoting issues), i.e. -drive id=test,if=virtio -drive-set test.file=/vmdisk/test-virtio.imgI'm not a big fan of this syntax because you still end up with not putting a filename as a single argument.
You can take everything after '=' as-is though, so the parsing/quoting issues are gone nevertheless.
I don't think it extends very well to other option types either like -net.
Problem with the "-drive.$id.$arg $value" syntax suggested by you is that the qemu option parser can handle fixed -option strings only.
Other ideas? cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |