libvirt/tests/qemuhelpdata
Eric Blake 7a2f29e4f9 smartcard: check for qemu capability
Qemu smartcard/spicevmc support exists on branches (such as
http://cgit.freedesktop.org/~alon/qemu/commit/?h=usb_ccid.v15&id=024a37b)
but is not yet upstream.  The added -help output matches a scratch build
that will be close to the RHEL 6.1 qemu-kvm.

* src/qemu/qemu_capabilities.h (QEMUD_CMD_FLAG_CCID_EMULATED)
(QEMUD_CMD_FLAG_CCID_PASSTHRU, QEMUD_CMD_FLAG_CHARDEV_SPICEVMC):
New flags.
* src/qemu/qemu_capabilities.c (qemuCapsComputeCmdFlags)
(qemuCapsParseDeviceStr): Check for smartcard capabilities.
(qemuCapsExtractVersionInfo): Tweak comment.
* tests/qemuhelptest.c (mymain): New test.
* tests/qemuhelpdata/qemu-kvm-0.12.1.2-rhel61: New file.
* tests/qemuhelpdata/qemu-kvm-0.12.1.2-rhel61-device: Likewise.
2011-02-03 19:28:53 -07:00
..
kvm-74 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
kvm-83-rhel56 qemu: Fix detection of drive readonly option 2010-10-26 10:31:50 +02:00
kvm-86 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.9.1 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.10.5 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.12.1 Probe for -device and use -nodefaults 2010-01-18 13:39:14 +00:00
qemu-0.12.1-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-kvm-0.10.5 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-kvm-0.11.0-rc2 Add qemu -help test data for qemu-kvm-0.11.0-rc2 2009-09-10 12:37:35 +01:00
qemu-kvm-0.12.1.2-rhel60 tests: test RHEL 6.0 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
qemu-kvm-0.12.1.2-rhel60-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-kvm-0.12.1.2-rhel61 smartcard: check for qemu capability 2011-02-03 19:28:53 -07:00
qemu-kvm-0.12.1.2-rhel61-device smartcard: check for qemu capability 2011-02-03 19:28:53 -07:00
qemu-kvm-0.12.3 qemu_conf: fix flag value 2010-05-17 16:28:02 -06:00
qemu-kvm-0.12.3-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-kvm-0.13.0 tests: test Fedora 14 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
qemu-kvm-0.13.0-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00