mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
b83d26f6c4
This resolves one of the issues in: https://bugzilla.redhat.com/show_bug.cgi?id=1003983 This device is identical to qemu's "intel-hda" device (known as "ich6" in libvirt), but has a different PCI device ID (which matches the ID of the hda audio built into the ich9 chipset, of course). It's not supported in earlier versions of qemu, so it requires a capability bit.
18 lines
987 B
Plaintext
18 lines
987 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu -S -M \
|
|
pc -m 214 -smp 1 -nographic -nodefconfig -nodefaults -monitor \
|
|
unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -hda \
|
|
/dev/HostVG/QEMUGuest1 -soundhw pcspk -device ES1370,id=sound1,bus=pci.0,\
|
|
addr=0x3 -device sb16,id=sound2 -device AC97,id=sound3,bus=pci.0,addr=0x4 \
|
|
-device intel-hda,id=sound4,bus=pci.0,addr=0x5 -device hda-duplex,\
|
|
id=sound4-codec0,bus=sound4.0,cad=0 \
|
|
-device intel-hda,id=sound5,bus=pci.0,addr=0x6 \
|
|
-device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 \
|
|
-device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1 \
|
|
-device ich9-intel-hda,id=sound6,bus=pci.0,addr=0x7 -device hda-duplex,\
|
|
id=sound6-codec0,bus=sound6.0,cad=0 \
|
|
-device ich9-intel-hda,id=sound7,bus=pci.0,addr=0x8 \
|
|
-device hda-micro,id=sound7-codec0,bus=sound7.0,cad=0 \
|
|
-device hda-duplex,id=sound7-codec1,bus=sound7.0,cad=1 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x9
|