[virt-tools-list] [virt-manager PATCH 0/5] virt-xml: Add --os-variant option

Andrea Bolognani abologna at redhat.com
Fri Nov 9 15:36:35 UTC 2018


The basic idea behind this change is that, when adding a disk or
another device to a guest, you want it to use VirtIO when possible
rather than falling back to eg. ide or e1000.

Note that this is mostly useful for guest created manually or
installed using versions of virt-manager prior to 2.0.0, as newer
virt-manager will store information about the guest OS in the
domain XML and everything will pretty much Just Work™ already.

Andrea Bolognani (5):
  virt-install: Fix description for --os-variant
  virt-install: Add "Guest OS" options group
  virt-xml: Accept --os-variant option
  tests: Add some tests for virt-xml with KVM
  virt-xml: Start using --os-variant

 man/virt-install.pod                          | 38 +++++++++++--------
 man/virt-xml.pod                              | 30 +++++++++++++++
 .../compare/virt-xml-kvm-add-disk-default.xml | 13 +++++++
 .../virt-xml-kvm-add-disk-os-from-cmdline.xml | 23 +++++++++++
 .../virt-xml-kvm-add-disk-os-from-xml.xml     | 14 +++++++
 .../virt-xml-kvm-add-network-default.xml      | 13 +++++++
 ...rt-xml-kvm-add-network-os-from-cmdline.xml | 23 +++++++++++
 .../virt-xml-kvm-add-network-os-from-xml.xml  | 14 +++++++
 tests/clitest.py                              |  7 ++++
 virt-install                                  | 10 ++---
 virt-xml                                      | 19 ++++++++++
 11 files changed, 184 insertions(+), 20 deletions(-)
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-disk-default.xml
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-disk-os-from-cmdline.xml
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-disk-os-from-xml.xml
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-network-default.xml
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-network-os-from-cmdline.xml
 create mode 100644 tests/cli-test-xml/compare/virt-xml-kvm-add-network-os-from-xml.xml

-- 
2.19.1




More information about the virt-tools-list mailing list