• E
    smartcard: check for qemu capability · 7a2f29e4
    Eric Blake 提交于
    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.
    7a2f29e4
qemu_capabilities.c 34.4 KB