[libvirt] PATCH 0/0: Support setting a disk drive serial (number) v2

Gerd Hoffmann kraxel at redhat.com
Tue Aug 25 13:27:55 UTC 2009


On 08/25/09 14:58, Daniel P. Berrange wrote:
> This is a second version of the patch posted here
>
> http://www.redhat.com/archives/libvir-list/2009-August/msg00341.html
>
> In this version, I make the QEMU driver refuse to run with any serial
> that doesn't contain 0-9, a-Z, -, _, since there's no way to escape
> special chars in QEMU command line args. Hopefully we can lift this
> restriction in a future version of QEMU

latest git (post 0.11) can handle it already.

-drive id=foo,<usualstuffhere>
-set 'drive.foo.serial=&$%,73:8bf/'

cheers,
   Gerd




More information about the libvir-list mailing list