From f383c2a6aee528400bc448aecc5b4d1772eba00d Mon Sep 17 00:00:00 2001 From: Haijiao Zhao Date: Tue, 12 Oct 2021 11:05:53 +0800 Subject: [PATCH] Fixup: xml missing from definition of VMPerfXML.EventXML Set default xml to EventXML instance to fix the issue of xml missing. Signed-off-by: Haijiao Zhao --- virttest/libvirt_xml/vm_xml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/virttest/libvirt_xml/vm_xml.py b/virttest/libvirt_xml/vm_xml.py index f76334bfe5..51792a72b8 100755 --- a/virttest/libvirt_xml/vm_xml.py +++ b/virttest/libvirt_xml/vm_xml.py @@ -3607,6 +3607,7 @@ def __init__(self, virsh_instance=base.virsh): attribute='enabled') super(VMPerfXML.EventXML, self).__init__( virsh_instance=virsh_instance) + self.xml = '' def update(self, attr_dict): for attr, value in list(attr_dict.items()):