[Bug 591489] [NEW] QEMU_AUDIO_DRV set to none by libvirtd in Lucid

2010-06-08 Thread Victor J. Orlikowski
Public bug reported:

When using virt-manager and libvirtd to manage VMs, VMs that use VNC for 
graphical consoles
have the QEMU_AUDIO_DRV environment variable automatically set to "none" in 
Lucid.

This prevents audio from working, at all, if one is using virt-manager
for controlling VMs.

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

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


[Bug 591489] Re: QEMU_AUDIO_DRV set to none by libvirtd in Lucid

2010-06-09 Thread Victor J. Orlikowski
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:


  windows7
  a522d67b-7a31-0163-04d5-e97816dd7000
  524288
  524288
  1
  
hvm

  
  



  
  
  destroy
  restart
  destroy
  
/usr/bin/kvm

  
  


  
  


  
  
  


  


  






  

  


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


[Bug 591489] Re: QEMU_AUDIO_DRV set to none by libvirtd in Lucid

2010-06-09 Thread Victor J. Orlikowski
One additional comment -
The VM is running 32-bit Windows 7, which does have a driver for the ac97 
virtual sound card.
This same VM *did* produce sound on Karmic and on Jaunty.

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