Quoting David Ayers (<email address hidden>):
> Hello Serge,
>
> I can confirm that adding a SDL graphics device in the VM configuration
> and removing the vnc device I was able to hear the sound.
Thanks.
> So if virt-manager disables sound in its VNC device due to security
> issues and SDL only works locally, then there is currently no support
> for remote sound. It seems that upstream virt-manager has added support
> for spice: http://virt-manager.et.redhat.com/download.html but since I
> have not seen any spice packages in either ubuntu or debian, I fear it
> will take the order of a few years before those features will hit an LTS
> release, which is rather unfortunate.
Yup, spice is very new but very actively developed upstream, so I expect
it to be in the next (12.04) LTS.
Unfortunately those patches are too new to be in any qemu-kvm upstream release,
so they are unlikely to be in 11.04 (which is not an LTS). As soon as upstream
pushes its next release, I will merge that, including spice support.
> BTW: closing the SDL window will turn the VM off hard. Is that expected
> behavior or should that be reported as a bug?
Yes, that is expected. You can use the -no-quit option to disable
closing the SDL window, but closing and re-opening it is not supported.
Quoting David Ayers (<email address hidden>):
> Hello Serge,
>
> I can confirm that adding a SDL graphics device in the VM configuration
> and removing the vnc device I was able to hear the sound.
Thanks.
> So if virt-manager disables sound in its VNC device due to security virt-manager. et.redhat. com/download. html but since I
> issues and SDL only works locally, then there is currently no support
> for remote sound. It seems that upstream virt-manager has added support
> for spice: http://
> have not seen any spice packages in either ubuntu or debian, I fear it
> will take the order of a few years before those features will hit an LTS
> release, which is rather unfortunate.
Yup, spice is very new but very actively developed upstream, so I expect
it to be in the next (12.04) LTS.
Unfortunately those patches are too new to be in any qemu-kvm upstream release,
so they are unlikely to be in 11.04 (which is not an LTS). As soon as upstream
pushes its next release, I will merge that, including spice support.
> BTW: closing the SDL window will turn the VM off hard. Is that expected
> behavior or should that be reported as a bug?
Yes, that is expected. You can use the -no-quit option to disable
closing the SDL window, but closing and re-opening it is not supported.