mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +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.
8 lines
441 B
Plaintext
8 lines
441 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=nss-emulated,id=smartcard0,bus=ccid0.0 -usb \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
|