[libvirt] PATCH: Pass -name argument to QEMU

Soren Hansen soren at ubuntu.com
Fri May 16 17:41:52 UTC 2008


On Thu, May 15, 2008 at 10:24:35PM +0100, Daniel P. Berrange wrote:
> Xenner doesn't start its help output right at the start of line,

Ah. :/

> and there isn't any other output there that causes ambiguity in
> current qemu help output:
> 
>   # qemu-kvm | grep -- -drive
>   -drive [file=file][,if=type][,bus=n][,unit=m][,media=d][index=i]
> 
> If one happens to be added in the future, that's fine because -drive
> will be enabled anyway for future releases.

I wasn't only worried about future releases, but also previous ones. I
didn't want to have to check back through qemu's vcs for instances of
"-drive", so I coded defensively instead. :) What versions of QEmu does
libvirt actually claim to support? If we only support recent versions,
then we're probably fine.

-- 
Soren Hansen               | 
Virtualisation specialist  | Ubuntu Server Team
Canonical Ltd.             | http://www.ubuntu.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080516/057f545b/attachment-0001.sig>


More information about the libvir-list mailing list