virt-manager/virtinst/devices/audio.py
Cole Robinson cd5c34a3f3 cli: Add basic --audio type=XXX,id=Y support
Closes: #264

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-24 14:18:41 -05:00

13 lines
287 B
Python

# This work is licensed under the GNU GPLv2 or later.
# See the COPYING file in the top-level directory.
from .device import Device
from ..xmlbuilder import XMLProperty
class DeviceAudio(Device):
XML_NAME = "audio"
type = XMLProperty("./@type")
id = XMLProperty("./@id")