[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Management-Tool für KVM/QEMU das auch Sound des Gast-Systems abspielen kann



Moinmoin,

On Sat, Feb 04, 2012 at 11:30:25PM +0100, tony.blue.mailinglist@gmx.de wrote:
> [...]
> Als Management-Tool habe ich bisher virt-manager installiert. Damit
> kann ich prima die virtuellen Maschinen einrichten und starten.
> Leider wird der Sound des Gast-Systems offensichtlich nicht
> durchgeleitet (ich höre nichts).
> 
> Deshalb meine Frage:
> 
> Welches Gast-System könnte denn den Sound des Gast-Systems
> durchleiten? Hier gibt es einige
> (http://www.linux-kvm.org/page/Management_Tools) leider steht hier
> zum Sound nichts.

Das ist nicht Aufgabe der Management-Tools sondern vielmehr des
Backends. Und Sound ist aufgrund von nur begrenzt teilbaren Ressourcen
eine heikle Angelegenheit: das Aktivieren geht mit Einbußen bei der
Sicherheit einher.

Bei mir funktioniert Folgendes:

:) root@fernst:/etc$ git show 45bd63cf
| commit 45bd63cf2afa8cf3b36460e09d7bf3923eaf593a
| Author: root <root@fernst.no-ip.org>
| Date:   Mon Nov 1 15:01:59 2010 +0100
| 
|     kvm: enable sound as per
|     https://fedoraproject.org/wiki/How_to_debug_Virtualization_problems#Audio_output
| 
| diff --git a/libvirt/qemu.conf b/libvirt/qemu.conf
| index dc8eb83..8acf9c8 100644
| --- a/libvirt/qemu.conf
| +++ b/libvirt/qemu.conf
| @@ -88,13 +88,16 @@
|  # to 'none' instead
|  #
|  # security_driver = "selinux"
| +security_driver = "none"
|  
|  
|  # The user ID for QEMU processes run by the system instance
|  #user = "root"
| +user = "fernst"
|  
|  # The group ID for QEMU processes run by the system instance
|  #group = "root"
| +group = "fernst"
|  
|  # Whether libvirt should dynamically change file ownership
|  # to match the configured user/group above. Defaults to 1.
| @@ -178,6 +181,7 @@
|  # QEMU_AUDIO_DRV environment variable when using VNC.
|  #
|  # vnc_allow_host_audio = 0
| +vnc_allow_host_audio = 1
|  
|  # If clear_emulator_capabilities is enabled, libvirt will drop all
|  # privileged capabilities of the QEmu/KVM emulator. This is enabled by
| @@ -187,6 +191,7 @@
|  # exploit the privileges and possibly do damage to the host.
|  #
|  # clear_emulator_capabilities = 1
| +clear_emulator_capabilities = 0
|  
|  
|  

(Ich "brauchte" das mal, um Dungeon Keeper I wieder zu erleben, das
weder unter Wine noch unter dosemu taugte ... *schwelg*)

HTH,
Flo


Reply to: