Re: [libvirt] PATCH: Pass -name argument to QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

Attachment: signature.asc
Description: Digital signature

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]