[virt-tools-list] [PATCH virt-manager 00/14] virt-xml:
Marc Hartmayer
mhartmay at linux.ibm.com
Tue Feb 26 09:56:30 UTC 2019
This patch series implements a new command line option '--start' that
allows the user to start the edited domain directly. A new flag called
'--no-define' is also introduced, which allows a transient start of
the changed domain without defining it.
This is especially useful if you want to temporarily use a different
boot configuration than the one defined in the persistent domain
definition. For example, it's possible to temporarily boot from
another kernel/initrd/cmdline (via direct boot) or to temporarily boot
from another bootable device.
Example usage:
$ virt-xml ${DOMAIN_NAME} --edit mac='52:54:00:df:e5:05' --network="boot_order=1" --start --no-define
Marc Hartmayer (14):
cli: refactor get_prop
xmlapi: add set_prop
tests: Use (get|set)_prop
support: Add SUPPORT_CONN_DEVICE_BOOT_ORDER
cli: Add check if device boot order is supported
tests: xmlparse: refactor method for generating out file path
guest: Add reorder_boot_order method
tests: Add test case for reorder_boot_order method
cli: Use reorder_boot_order for setting the boot order
tests: cli: Add boot.order tests
virt-xml: Add --no-define argument
tests: cli: Add test case for --no-define argument
virt-xml: Add support for starting the domain
tests: virt-xml: Add test cases for --start option
.../compare/virt-xml-add-disk-basic-start.xml | 11 +++
...virt-xml-add-disk-create-storage-start.xml | 11 +++
.../virt-xml-add-host-device-start.xml | 14 ++++
.../virt-xml-edit-select-disk-bootorder.xml | 19 +++++
.../virt-xml-edit-select-disk-bootorder2.xml | 18 +++++
.../virt-xml-remove-disk-path-start.xml | 20 ++++++
.../virt-xml-start-select-disk-bootorder.xml | 33 +++++++++
.../virt-xml-start-select-disk-bootorder2.xml | 32 +++++++++
tests/clitest.py | 22 ++++++
tests/testsuite.xml | 58 +++++++++++++++
.../change-devices-bootorder-fixed-out.xml | 71 +++++++++++++++++++
.../change-devices-bootorder-in.xml | 71 +++++++++++++++++++
.../change-devices-bootorder-out.xml | 71 +++++++++++++++++++
tests/xmlparse.py | 65 +++++++++++++++--
virt-xml | 66 +++++++++++++----
virtManager/domain.py | 3 +-
virtinst/cli.py | 30 +++++---
virtinst/guest.py | 34 +++++++++
virtinst/support.py | 3 +
virtinst/xmlapi.py | 32 +++++++++
20 files changed, 656 insertions(+), 28 deletions(-)
create mode 100644 tests/cli-test-xml/compare/virt-xml-add-disk-basic-start.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-add-disk-create-storage-start.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-add-host-device-start.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-edit-select-disk-bootorder.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-edit-select-disk-bootorder2.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-remove-disk-path-start.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-start-select-disk-bootorder.xml
create mode 100644 tests/cli-test-xml/compare/virt-xml-start-select-disk-bootorder2.xml
create mode 100644 tests/xmlparse-xml/change-devices-bootorder-fixed-out.xml
create mode 100644 tests/xmlparse-xml/change-devices-bootorder-in.xml
create mode 100644 tests/xmlparse-xml/change-devices-bootorder-out.xml
--
2.17.0
More information about the virt-tools-list
mailing list