From 0218d29a35e1d599c1fe71640a551f73dc96e3ba Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 15 Sep 2014 12:22:56 +0200 Subject: [PATCH] virtinst: add ich9 to the list of audio models Signed-off-by: Giuseppe Scrivano --- 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 28f6962e..54c1c5e2 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 351ce2f5..b6a2b24d 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 # # 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",