Hi Chris,Lucas: This patchset adds test for virt-edit.
virt-edit is a tool to edit a vm's disk directly. It depends on package(libguestfs for linux and libguestfs-winsupport for windows). In this patchset, I add Chris' xml_utils.py to enough my patchs.^_^ And since XMLTreeFile has not been committed to master,I still use XMLBase here, you can change it as you need.>> Chris And this patchset depends on libvirt_xml's vm_rename(), so I patch them together. BTW,I'm on my vacation nextweek, so forgive my answer's delay :-). Yu Mingfei (4): shared.xml_utils:add remove() to XMLBase. virt.libvirt_xml:Add libvirt xml rename function. virt.subtest.cfg.sample:Add configuration for virt-edit. client.tests.libvirt:Add test for virt-edit. client/shared/xml_utils.py | 29 ++++ client/tests/libvirt/tests/virt_edit.py | 218 +++++++++++++++++++++++++++++++ client/virt/libvirt_xml.py | 42 ++++++ client/virt/subtests.cfg.sample | 82 ++++++++++++ 4 files changed, 371 insertions(+), 0 deletions(-) create mode 100644 client/tests/libvirt/tests/virt_edit.py create mode 100644 client/virt/libvirt_xml.py -- Best Regards Yu Mingfei _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
