We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 115a89f + 93e4178 commit 4ff7f3dCopy full SHA for 4ff7f3d
1 file changed
virttest/libvirt_xml/devices/video.py
@@ -21,6 +21,7 @@ class Video(base.UntypedDeviceBase):
21
"acceleration",
22
"address",
23
"driver",
24
+ "resolution",
25
)
26
27
def __init__(self, virsh_instance=base.base.virsh):
@@ -50,4 +51,7 @@ def __init__(self, virsh_instance=base.base.virsh):
50
51
52
accessors.XMLElementDict("address", self, parent_xpath="/", tag_name="address")
53
accessors.XMLElementDict("driver", self, parent_xpath="/", tag_name="driver")
54
+ accessors.XMLElementDict(
55
+ "resolution", self, parent_xpath="/model", tag_name="resolution"
56
+ )
57
super(Video, self).__init__(device_tag="video", virsh_instance=virsh_instance)
0 commit comments