diff --git a/virttest/libvirt_xml/devices/memballoon.py b/virttest/libvirt_xml/devices/memballoon.py index 77ddf2065c..97f87c0097 100644 --- a/virttest/libvirt_xml/devices/memballoon.py +++ b/virttest/libvirt_xml/devices/memballoon.py @@ -10,12 +10,14 @@ class Memballoon(base.UntypedDeviceBase): - __slots__ = ('model', 'stats_period', 'address', 'alias_name', + __slots__ = ('model', 'autodeflate', 'stats_period', 'address', 'alias_name', 'driver') def __init__(self, virsh_instance=base.base.virsh): accessors.XMLAttribute('model', self, parent_xpath='/', tag_name='memballoon', attribute='model') + accessors.XMLAttribute('autodeflate', self, parent_xpath='/', + tag_name='memballoon', attribute='autodeflate') accessors.XMLAttribute('stats_period', self, parent_xpath='/', tag_name='stats', attribute='period') accessors.XMLElementDict('address', self, parent_xpath='/',