Adding sound device with using "-device" is preferable. Moreover, it's not possible to add HDA controller on RHEL6 host since it does not know -soundhw hda option. HDA controller is needed to get sound working on Windows 7 64bit since there is no AC97 64bit driver for Windows.
I removed get_free_pci_addr() function since: 1. It's not used anywhere. 2. Used pci addresses in list pci_addr_list are not updated when various devices are added on PCI bus. It would be needed to keep the list updated otherwise pci_addr returns by this function is most likely taken. Marian Krcmarik (2): virt.kvm_vm: Prefer using "-device" when adding sound device virt.base.cfg: Edit sound hardware comment and remove pci_addr. client/tests/virt/shared/cfg/base.cfg.sample | 6 ++-- client/tests/virt/virttest/kvm_vm.py | 43 +++++++--------------------- 2 files changed, 13 insertions(+), 36 deletions(-) -- 1.7.11.4 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
