tests: clitest: test virt-xml --update on inactive VM

This commit is contained in:
Cole Robinson
2018-04-03 12:43:14 -04:00
parent 4a58a689db
commit b17c7565e2
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -868,6 +868,7 @@ vixml = App("virt-xml", compare_check="1.2.2") # compare_check for input type=
c = vixml.add_category("misc", "")
c.add_valid("--help") # basic --help test
c.add_valid("--sound=? --tpm=?") # basic introspection test
c.add_valid("test-state-shutoff --edit --update --boot menu=on") # --update with inactive VM, should work but warn
c.add_invalid("test --edit --hostdev driver_name=vfio") # Guest has no hostdev to edit
c.add_invalid("test --edit --cpu host-passthrough --boot hd,network") # Specified more than 1 option
c.add_invalid("test --edit") # specified no edit option
+6
View File
@@ -279,6 +279,12 @@
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
<name>test-state-shutoff</name>
<memory>1048576</memory>
<bootloader>/tmp/bootfoo</bootloader>
<test:runstate>5</test:runstate>
</domain>