libvirt/tests
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
..
capabilityschemadata
commanddata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
confdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
cputestdata tests: Add unit tests for internal CPU APIs 2010-12-01 14:12:54 +01:00
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
interfaceschemadata
networkxml2xmlin Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
networkxml2xmlout Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
nodedevschemadata
nodeinfodata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuhelpdata smartcard: check for qemu capability 2011-02-03 19:28:53 -07:00
qemuxml2argvdata smartcard: add XML support for <smartcard> device 2011-02-03 19:27:43 -07:00
qemuxml2xmloutdata Add VIR_DIV_UP to divide memory or storage request sizes with round up 2011-01-29 00:42:10 +01:00
sexpr2xmldata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolxml2xmlin
storagevolxml2xmlout
vmx2xmldata vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00
xencapsdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xmconfigdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xml2sexprdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xml2vmxdata vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00
.gitignore Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
.valgrind.supp
capabilityschematest
commandhelper.c commandtest: avoid printing loader-control variables from commandhelper 2011-01-06 14:21:17 -07:00
commandtest.c build: avoid close, system 2011-01-29 10:36:45 -07:00
conftest.c
cpuset
cputest.c tests: Add unit tests for internal CPU APIs 2010-12-01 14:12:54 +01:00
daemon-conf
define-dev-segfault
domainschematest
domainsnapshotschematest
esxutilstest.c esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
eventtest.c event: fix event-handling allocation crash 2011-01-27 09:12:36 -07:00
int-overflow
interfaceschematest
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
Makefile.am tests: Remove obsolete secaatest 2011-01-15 23:36:31 +01:00
networkschematest
networkxml2xmltest.c
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c tests: avoid spurious failure of nodeinfotest 2010-12-20 10:31:40 -07:00
nwfilterschematest
nwfilterxml2xmltest.c tests: Fix detection of expected errors 2010-11-29 16:35:20 +01:00
object-locking.ml
oomtrace.pl
qemuargv2xmltest.c qemu: Allow serving VNC over a unix domain socket 2011-01-21 16:03:04 -05:00
qemuhelptest.c smartcard: check for qemu capability 2011-02-03 19:28:53 -07:00
qemuxml2argvtest.c qemu aio: enable support 2011-01-28 09:09:49 -07:00
qemuxml2xmltest.c qemu aio: enable support 2011-01-28 09:09:49 -07:00
qparamtest.c
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh
seclabeltest.c Refactor the security drivers to simplify usage 2011-01-10 18:10:52 +00:00
sexpr2xmltest.c
sockettest.c
start
statstest.c
storagepoolschematest
storagepoolxml2xmltest.c
storagevolschematest
storagevolxml2xmltest.c
test_conf.sh
test-lib.sh
testutils.c tests: handle backspace-newline pairs in test input files 2011-01-31 11:25:34 -07:00
testutils.h
testutilsqemu.c Update QEMU test cases for new file locations & API renames 2010-12-17 16:41:51 +00:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
undefine
vcpupin
virbuftest.c
virsh-all
virsh-schedinfo
virsh-synopsis
virshtest.c
virt-aa-helper-test
vmx2xmltest.c vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00
xencapstest.c
xmconfigtest.c
xml2sexprtest.c xend: Escape reserved sexpr characters 2010-11-22 16:43:29 -05:00
xml2vmxtest.c vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00