TranslateProject/sources/tech/20141029 Linux FAQs with Answers--How to fix hda-duplex not supported in this QEMU binary.md
2014-10-29 13:10:04 +08:00

1.8 KiB

Linux FAQs with Answers--How to fix “hda-duplex not supported in this QEMU binary”

Question: When I try to install Linux on a new VM in virt-manager, the VM fails to boot with the following error: "unsupported configuration: hda-duplex not supported in this QEMU binary." How can I fix this error?

The cause for this VM error may originate from a qemu bug where a configured default sound card model is not recognized.

Unable to complete install: 'unsupported configuration: hda-duplex not supported in this QEMU library'

To solve this problem, do the following.

Solution One: Virt-Manager

On virt-manager, open the VM's virtual hardware details menu, go to sound device section, and change the device model from default to ac97.

Click on "Apply" button to save the change. See if you can start the VM now.

Solution Two: Virsh

If you are using virsh, not virt-manager, you can edit the VM's XML file accordingly. Look for sound section inside section, and change the sound model to ac97 as follows.

<devices>
  . . .
  <sound model='ac97'>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  </sound>
  . . .
</device>

via: http://ask.xmodulo.com/hda-duplex-not-supported-in-this-qemu-binary.html

译者:译者ID 校对:校对者ID

本文由 LCTT 原创翻译,Linux中国 荣誉推出