diff --git a/man/virt-install.pod b/man/virt-install.pod index e2cd3a02..0bc3d8c2 100644 --- a/man/virt-install.pod +++ b/man/virt-install.pod @@ -1339,7 +1339,7 @@ Use --console=? to see a list of all available sub options. Complete details at Specify what video device model will be attached to the guest. Valid values for VIDEO are hypervisor specific, but some options for recent kvm are -cirrus, vga, qxl, or vmvga (vmware). +cirrus, vga, qxl, virtio, or vmvga (vmware). Use --video=? to see a list of all available sub options. Complete details at L diff --git a/tests/xmlparse-xml/change-videos-out.xml b/tests/xmlparse-xml/change-videos-out.xml index 15cb0b02..36780ad4 100644 --- a/tests/xmlparse-xml/change-videos-out.xml +++ b/tests/xmlparse-xml/change-videos-out.xml @@ -30,7 +30,9 @@ diff --git a/tests/xmlparse.py b/tests/xmlparse.py index 2e417468..fa7eb5a0 100644 --- a/tests/xmlparse.py +++ b/tests/xmlparse.py @@ -674,6 +674,7 @@ class XMLParseTest(unittest.TestCase): check("model", "cirrus", "cirrus", "qxl") check("ram", None, 100) check("vgamem", None, 8192) + check("accel3d", None, True) self._alter_compare(guest.get_xml_config(), outfile) diff --git a/virtinst/devicevideo.py b/virtinst/devicevideo.py index 308bc2e8..689c1cc5 100644 --- a/virtinst/devicevideo.py +++ b/virtinst/devicevideo.py @@ -27,7 +27,7 @@ class VirtualVideoDevice(VirtualDevice): # Default models list MODEL_DEFAULT = "default" - MODELS = ["cirrus", "vga", "vmvga", "xen", "qxl"] + MODELS = ["cirrus", "vga", "vmvga", "xen", "qxl", "virtio"] @staticmethod def pretty_model(model): @@ -43,6 +43,7 @@ class VirtualVideoDevice(VirtualDevice): ram = XMLProperty("./model/@ram", is_int=True) heads = XMLProperty("./model/@heads", is_int=True) vgamem = XMLProperty("./model/@vgamem", is_int=True) + accel3d = XMLProperty("./model/acceleration/@accel3d", is_yesno=True) VirtualVideoDevice.register_type()