mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
f5fd9baac1
* src/qemu/qemu_command.c (qemuBuildCommandLine): Emit smartcard options. (qemuAssignDeviceAliases): Assign an alias for smartcards. (qemuBuildControllerDevStr): Manage the usb-ccid controller. * tests/qemuxml2argvtest.c (mymain): Add new tests. * tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.args: New file. * tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args: Likewise. * tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough.args: Likewise. * tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.args: Likewise.
9 lines
503 B
Plaintext
9 lines
503 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu -S -M \
|
|
pc -m 214 -smp 1 -nographic -nodefconfig -nodefaults -chardev \
|
|
socket,id=charmonitor,path=/tmp/test-monitor,server,nowait -mon \
|
|
chardev=charmonitor,id=monitor,mode=readline -no-acpi -boot c -device \
|
|
usb-ccid,id=ccid0 -device \
|
|
ccid-card-emulated,backend=certificates,cert1=cert1,cert2=cert2,cert3=cert3\
|
|
,database=/etc/pki/nssdb,id=smartcard0,bus=ccid0.0 -usb -device \
|
|
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
|