[CentOS-virt] Assigning a PCI sound device to a VM

Robert Nichols

rnicholsNOSPAM at comcast.net
Thu Sep 3 18:59:37 UTC 2015

On 09/03/2015 03:14 AM, George Dunlap wrote:
> On Thu, Sep 3, 2015 at 2:29 AM, Robert Nichols
> <rnicholsNOSPAM at comcast.net> wrote:
>> I have a PCI sound card that I would like to assign to a VM, but
>> when I try to do so the VM fails to start and displays this message:
>> Error starting domain: Unable to read from monitor: Connection reset by peer
>> The sound card is an Asus Xonar DGX PCIe 5.1, and identifies itself
>> as "07:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788
>> [Oxygen HD Audio]".
>> I see the same problem if I try to assign the motherboard's Intel
>> Xeon E3-1200 HD Audio Controller to the VM.  Both of these devices
>> are supported by the host kernel (3.18.17-13.el6.x86_64).
>> I have no problem assigning a USB sound device, but those have very
>> limited capability.
> Which hypervisor / CentOS version are you using?

libvirt-0.10.2-54.el6.x86_64 in CentOS 6.7,
using kernel-3.18.17-13.el6.x86_64 from the Xen4CentOS 6 repo.
(I need that kernel for the motherboard's sound controller.  The
  behavior when trying to assign a PCI device to the VM is the
  same with the standard 2.6.32 kernel in CentOS 6.7.)

Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

More information about the CentOS-virt mailing list