How to fix "hda-duplex not supported in this QEMU binary"

Last updated on July 21, 2020 by Dan Nanni

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 <device> 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>

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean