[libvirt] [PATCH 0/3] qemu: command: clean up default cpu formatting

Cole Robinson posted 3 patches 6 years, 8 months ago
Failed in applying to current master (apply log)
src/qemu/qemu_command.c                            | 95 +++++++++-------------
.../qemuxml2argvdata/qemuxml2argv-hyperv-off.args  |  1 -
.../qemuxml2argv-kvm-features-off.args             |  1 -
.../qemuxml2argv-x86-kvm-32-on-64.args             | 21 +++++
.../qemuxml2argv-x86-kvm-32-on-64.xml              | 13 +++
tests/qemuxml2argvtest.c                           |  1 +
tests/testutilsqemu.c                              | 18 +++-
7 files changed, 90 insertions(+), 60 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-x86-kvm-32-on-64.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-x86-kvm-32-on-64.xml
[libvirt] [PATCH 0/3] qemu: command: clean up default cpu formatting
Posted by Cole Robinson 6 years, 8 months ago
Just some minor patches to do with encoding a default CPU on the
qemu command line.

Patch 1 adds a test case
Patch 2 simplifies the code
Patch 3 throws an explicit error for a confusing situation

Cole Robinson (3):
  tests: add qemu x86 kvm 32-on-64 test
  qemu: command: rework adding of default cpu model
  qemu: command: explicitly error for non-x86 default CPU

 src/qemu/qemu_command.c                            | 95 +++++++++-------------
 .../qemuxml2argvdata/qemuxml2argv-hyperv-off.args  |  1 -
 .../qemuxml2argv-kvm-features-off.args             |  1 -
 .../qemuxml2argv-x86-kvm-32-on-64.args             | 21 +++++
 .../qemuxml2argv-x86-kvm-32-on-64.xml              | 13 +++
 tests/qemuxml2argvtest.c                           |  1 +
 tests/testutilsqemu.c                              | 18 +++-
 7 files changed, 90 insertions(+), 60 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-x86-kvm-32-on-64.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-x86-kvm-32-on-64.xml

-- 
2.13.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list