Re: [PATCH] Check for presence of qemu -nodefconfig option before using it

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

 




On 06/24/2010 12:52 PM, Laine Stump wrote:
We previously assumed that if the -device option existed in qemu, that
-nodefconfig would also exist. It turns out that isn't the case, as
demonstrated by qemu-kvm-0.12.3 in Fedora 13.

*/src/qemu/qemu_conf.[hc] - add a new QEMUD_CMD_FLAG, set it via the
                             help output, and check it before adding
                             -nodefconfig to the qemu commandline.
---
  src/qemu/qemu_conf.c |    5 ++++-
  src/qemu/qemu_conf.h |    1 +
  2 files changed, 5 insertions(+), 1 deletions(-)
Does this impact any of the existing test cases for qemu -h parsing?

No.

And if not, should we add a new file to tests/qemuhelpdata/ that exposes
a known qemu version that does support -nodefconfig?

I don't think there is currently a publicly available qemu release that supports -nodefconfig. Should we wait until one exists, or dummy up a test file?

--
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]