
15 May
2008
15 May
'08
5:20 p.m.
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/