virtinst: add ich9 to the list of audio models

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2014-09-15 12:22:56 +02:00
parent 30c3434916
commit 0218d29a35
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1,5 +1,5 @@
#
# Copyright 2008-2009, 2013 Red Hat, Inc.
# Copyright 2008-2009, 2013-2014 Red Hat, Inc.
# Cole Robinson <crobinso@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",