[libvirt] PATCH: Pass -name argument to QEMU
Soren Hansen
soren at ubuntu.com
Thu May 15 21:20:50 UTC 2008
On Tue, May 13, 2008 at 12:21:02AM +0100, Daniel P. Berrange wrote:
> - if (strstr(help, "\n-drive"))
> - *flags |= QEMUD_CMD_FLAG_DRIVE_OPT;
[...]
> + if (strstr(help, "-drive"))
> + *flags |= QEMUD_CMD_FLAG_DRIVE;
Why this change? I put the \n in front to prevent something like
"disk-drive" in a descriptive text making libvirt think that "-drive"
was a valid option.
--
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/20080515/59345591/attachment-0001.sig>
More information about the libvir-list
mailing list