Certainly, but the complaint about sound not working for guests applies to *all*
guests on the machine that have a VNC console. I have pasted a guest 
configuration
that is a representative example.

The guest configuration file is named:
/etc/libvirt/qemu/windows7.xml

Its contents are:

<domain type='kvm'>
  <name>windows7</name>
  <uuid>a522d67b-7a31-0163-04d5-e97816dd7000</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.11'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/opt/vm_images/windows7.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <mac address='54:52:00:3f:91:e8'/>
      <source network='default'/>
      <model type='e1000'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' 
keymap='en-us'/>
    <sound model='ac97'/>
    <video>
      <model type='vga' vram='9216' heads='1'/>
    </video>
  </devices>
</domain>

When I check the log (/var/log/libvirt/qemu/windows7.log) corresponding to this 
virtual machine, I see:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_
AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.11 -enable-kvm -m 512 -smp 1 -name window
s7 -uuid a522d67b-7a31-0163-04d5-e97816dd7000 -chardev socket,id=monitor,path=/v
ar/lib/libvirt/qemu/windows7.monitor,server,nowait -monitor chardev:monitor -loc
altime -boot c -drive file=/opt/vm_images/windows7.img,if=ide,index=0,boot=on -d
rive if=ide,media=cdrom,index=2 -net nic,macaddr=54:52:00:3f:91:e8,vlan=0,model=
e1000,name=e1000.0 -net tap,fd=37,vlan=0,name=tap.0 -chardev pty,id=serial0 -ser
ial chardev:serial0 -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k en
-us -vga std -soundhw ac97 
char device redirected to /dev/pts/0

What concerns me, is that QEMU_AUDIO_DRV is set to "none", with no
action on my part.

-- 
QEMU_AUDIO_DRV set to none by libvirtd in Lucid
https://bugs.launchpad.net/bugs/591489
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to