[virt-tools-list] [PATCH 1/2] virtinst: add ich9 to the list of audio models

Giuseppe Scrivano gscrivan at redhat.com
Mon Sep 15 11:18:15 UTC 2014


Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 man/virt-install.pod    | 2 +-
 virtinst/deviceaudio.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/virt-install.pod b/man/virt-install.pod
index 28f6962..54c1c5e 100644
--- a/man/virt-install.pod
+++ b/man/virt-install.pod
@@ -1002,7 +1002,7 @@ Use --host-device=? to see a list of all available sub options. Complete details
 =item --sound MODEL
 
 Attach a virtual audio device to the guest. MODEL specifies the emulated
-sound card model. Possible values are ich6, ac97, es1370, sb16, pcspk,
+sound card model. Possible values are ich6, ich9, ac97, es1370, sb16, pcspk,
 or default. 'default' will try to pick the best model that the specified
 OS supports.
 
diff --git a/virtinst/deviceaudio.py b/virtinst/deviceaudio.py
index 351ce2f..b6a2b24 100644
--- a/virtinst/deviceaudio.py
+++ b/virtinst/deviceaudio.py
@@ -1,5 +1,5 @@
 #
-# Copyright 2008-2009, 2013 Red Hat, Inc.
+# Copyright 2008-2009, 2013-2014 Red Hat, Inc.
 # Cole Robinson <crobinso at redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -25,7 +25,7 @@ class VirtualAudio(VirtualDevice):
     virtual_device_type = VirtualDevice.VIRTUAL_DEV_AUDIO
 
     MODEL_DEFAULT = "default"
-    MODELS = ["es1370", "sb16", "pcspk", "ac97", "ich6", MODEL_DEFAULT]
+    MODELS = ["es1370", "sb16", "pcspk", "ac97", "ich6", "ich9", MODEL_DEFAULT]
 
     model = XMLProperty("./@model",
                         default_cb=lambda s: "es1370",
-- 
1.9.3




More information about the virt-tools-list mailing list