mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-13 22:30:37 +08:00
commit
e976a66e78
@ -1,40 +0,0 @@
|
||||
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.
|
||||
|
||||
![](https://farm4.staticflickr.com/3935/15000012754_b8b147fb16_o.png)
|
||||
|
||||
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.
|
||||
|
||||
![](https://farm4.staticflickr.com/3956/15435183020_d97856170c_z.jpg)
|
||||
|
||||
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>
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/hda-duplex-not-supported-in-this-qemu-binary.html
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
@ -0,0 +1,40 @@
|
||||
Linux 有问必答 -- 如何修复“hda-duplex not supported in this QEMU binary”(hda-duplex在此QEMU文件中不支持)
|
||||
================================================================================
|
||||
> **提问**: 当我尝试在虚拟机中安装一个新的Linux时,虚拟机不能启动且报了下面这个错误:“不支持的配置:hda-duplex在此QEMU文件中不支持。” 我该如何修复?
|
||||
|
||||
这个错误可能来自一个当默认声卡型号不能被识别时的一个qemu bug。
|
||||
|
||||
![](https://farm4.staticflickr.com/3935/15000012754_b8b147fb16_o.png)
|
||||
|
||||
无法完成安装:‘不支持的配置:hda-duplex在此QEMU文件中不支持’
|
||||
|
||||
要解决这个问题,按照下面的做。
|
||||
|
||||
### 方案一: virt-manager ###
|
||||
|
||||
在**virt-manager**中,打开虚拟机的虚拟硬件详细菜单,进入声卡选项,改变默认的设备型号为ac97。
|
||||
|
||||
![](https://farm4.staticflickr.com/3956/15435183020_d97856170c_z.jpg)
|
||||
|
||||
点击“应用”按钮并保存设置。看一下虚拟机现在是否可以启动了。
|
||||
|
||||
### 方案二: Virsh ###
|
||||
|
||||
如果你使用的是**virt-manager** 而不是**virt-manager**, 你可以编辑VM相应的配置文件。在<device>节点中查找**sound**节点,并按照下面的默认声卡型号改成**ac97**。
|
||||
|
||||
<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
|
||||
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
Loading…
Reference in New Issue
Block a user