[libvirt PATCH 00/10] add support for ESP SCSI controller family

Daniel P. Berrangé berrange at redhat.com
Wed Nov 18 17:39:43 UTC 2020


The sparc machines types all have an NCR53C90 SCSI Controller
builtin. This is from the ESP family of SCSI controllers which
includs two PCI variants. Wire up support for all these SCSI
controllers, so we can at least launch a sparc VM with disks
attached. There are likely other gaps in CLI coverage for sparc,
so I don't claim this lets you have a fully working VM yet.

Daniel P. Berrangé (10):
  util: add ARCH_IS_MIPS64 helper macro
  qemu: fix default devices on sparc machines
  qemu: add helper method for checking if ESP SCSI is builtin
  conf: add support for ESP SCSI controller family
  qemu: add capabilities for the three ESP family SCSI controllers
  qemu: enable support for ESP SCSI controller family
  tests: add fake host CPU for sparc architecture
  tests: add capabilities data files for sparc emulator target
  tests: define QEMU driver capabilities for sparc architecture
  tests: add minimal XML example for sparc VM

 docs/formatdomain.rst                         |     3 +-
 docs/schemas/domaincommon.rng                 |     3 +
 src/conf/domain_conf.c                        |     8 +
 src/conf/domain_conf.h                        |     3 +
 src/qemu/qemu_alias.c                         |     6 +
 src/qemu/qemu_capabilities.c                  |    27 +
 src/qemu/qemu_capabilities.h                  |     5 +
 src/qemu/qemu_command.c                       |    15 +
 src/qemu/qemu_domain.c                        |    21 +
 src/qemu/qemu_domain.h                        |     1 +
 src/qemu/qemu_domain_address.c                |    10 +
 src/qemu/qemu_validate.c                      |    36 +
 src/util/virarch.h                            |     3 +
 src/vbox/vbox_common.c                        |     3 +
 src/vmx/vmx.c                                 |     3 +
 tests/domaincapsdata/qemu_5.1.0.sparc.xml     |   101 +
 .../caps_1.5.3.x86_64.xml                     |     2 +
 .../caps_1.6.0.x86_64.xml                     |     2 +
 .../caps_1.7.0.x86_64.xml                     |     2 +
 .../caps_2.1.1.x86_64.xml                     |     2 +
 .../caps_2.10.0.aarch64.xml                   |     2 +
 .../caps_2.10.0.ppc64.xml                     |     2 +
 .../caps_2.10.0.x86_64.xml                    |     2 +
 .../caps_2.11.0.x86_64.xml                    |     2 +
 .../caps_2.12.0.aarch64.xml                   |     2 +
 .../caps_2.12.0.ppc64.xml                     |     2 +
 .../caps_2.12.0.x86_64.xml                    |     2 +
 .../caps_2.4.0.x86_64.xml                     |     2 +
 .../caps_2.5.0.x86_64.xml                     |     2 +
 .../caps_2.6.0.aarch64.xml                    |     2 +
 .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml |     2 +
 .../caps_2.6.0.x86_64.xml                     |     2 +
 .../caps_2.7.0.x86_64.xml                     |     2 +
 .../caps_2.8.0.x86_64.xml                     |     2 +
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |     2 +
 .../caps_2.9.0.x86_64.xml                     |     2 +
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |     2 +
 .../caps_3.0.0.x86_64.xml                     |     2 +
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |     2 +
 .../caps_3.1.0.x86_64.xml                     |     2 +
 .../caps_4.0.0.aarch64.xml                    |     2 +
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |     2 +
 .../caps_4.0.0.riscv32.xml                    |     2 +
 .../caps_4.0.0.riscv64.xml                    |     2 +
 .../caps_4.0.0.x86_64.xml                     |     2 +
 .../caps_4.1.0.x86_64.xml                     |     2 +
 .../caps_4.2.0.aarch64.xml                    |     2 +
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |     2 +
 .../caps_4.2.0.x86_64.xml                     |     2 +
 .../caps_5.0.0.aarch64.xml                    |     2 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |     2 +
 .../caps_5.0.0.riscv64.xml                    |     2 +
 .../caps_5.0.0.x86_64.xml                     |     2 +
 .../caps_5.1.0.sparc.replies                  | 17294 ++++++++++++++++
 .../qemucapabilitiesdata/caps_5.1.0.sparc.xml |   133 +
 .../caps_5.1.0.x86_64.xml                     |     2 +
 .../caps_5.2.0.x86_64.xml                     |     2 +
 tests/qemucaps2xmloutdata/caps.sparc.xml      |    25 +
 tests/qemuxml2argvdata/sparc-minimal.args     |    34 +
 tests/qemuxml2argvdata/sparc-minimal.xml      |    21 +
 tests/qemuxml2argvtest.c                      |     3 +
 tests/testutilshostcpus.h                     |    10 +
 tests/testutilsqemu.c                         |    62 +-
 63 files changed, 17882 insertions(+), 26 deletions(-)
 create mode 100644 tests/domaincapsdata/qemu_5.1.0.sparc.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_5.1.0.sparc.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml
 create mode 100644 tests/qemucaps2xmloutdata/caps.sparc.xml
 create mode 100644 tests/qemuxml2argvdata/sparc-minimal.args
 create mode 100644 tests/qemuxml2argvdata/sparc-minimal.xml

-- 
2.28.0





More information about the libvir-list mailing list