[PATCH 0/7] vmx: Support super wide SCSI bus

Michal Privoznik posted 7 patches 2 years, 8 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1627993626.git.mprivozn@redhat.com
src/bhyve/bhyve_parse_command.c               |   2 +-
src/conf/domain_conf.c                        |  33 +++---
src/conf/domain_conf.h                        |  10 +-
src/hyperv/hyperv_driver.c                    |   4 +-
src/libxl/libxl_driver.c                      |   2 +-
src/libxl/xen_xl.c                            |   2 +-
src/libxl/xen_xm.c                            |   2 +-
src/lxc/lxc_native.c                          |   2 +-
src/openvz/openvz_conf.c                      |   2 +-
src/qemu/qemu_process.c                       |   2 +-
src/vbox/vbox_common.c                        |   8 +-
src/vmx/vmx.c                                 | 108 +++++++++---------
src/vz/vz_sdk.c                               |   2 +-
tests/genericxml2xmltest.c                    |   2 +-
tests/openvzutilstest.c                       |   2 +-
tests/qemublocktest.c                         |   2 +-
tests/qemumonitortestutils.c                  |   2 +-
tests/securityselinuxtest.c                   |   2 +-
.../vmx2xml-esx-in-the-wild-11.vmx            |  97 ++++++++++++++++
.../vmx2xml-esx-in-the-wild-11.xml            |  43 +++++++
tests/vmx2xmltest.c                           |   1 +
21 files changed, 239 insertions(+), 91 deletions(-)
create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.vmx
create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.xml
[PATCH 0/7] vmx: Support super wide SCSI bus
Posted by Michal Privoznik 2 years, 8 months ago
As of vSphere 6.7 there can be up to 64 units on a SCSI bus.

Honestly, I'm not a big fan of 5/7 but we want to support three
different values and one of them doesn't depend on the driver that's
assigning the disk address, but at a runtime information. Thus using
xmlopt is not good enough. Any clever idea is very welcome.

Michal Prívozník (7):
  vmx: Fill virtualHW.version to ESX version mapping
  vmx2xmltest: Add a test case
  vmx: Rework disk def allocation
  vmx: Drop needless check in virVMXParseDisk()
  conf: Store SCSI bus length in virDomainDef
  vmx: Support super wide SCSI bus
  DO NOT MERGE

 src/bhyve/bhyve_parse_command.c               |   2 +-
 src/conf/domain_conf.c                        |  33 +++---
 src/conf/domain_conf.h                        |  10 +-
 src/hyperv/hyperv_driver.c                    |   4 +-
 src/libxl/libxl_driver.c                      |   2 +-
 src/libxl/xen_xl.c                            |   2 +-
 src/libxl/xen_xm.c                            |   2 +-
 src/lxc/lxc_native.c                          |   2 +-
 src/openvz/openvz_conf.c                      |   2 +-
 src/qemu/qemu_process.c                       |   2 +-
 src/vbox/vbox_common.c                        |   8 +-
 src/vmx/vmx.c                                 | 108 +++++++++---------
 src/vz/vz_sdk.c                               |   2 +-
 tests/genericxml2xmltest.c                    |   2 +-
 tests/openvzutilstest.c                       |   2 +-
 tests/qemublocktest.c                         |   2 +-
 tests/qemumonitortestutils.c                  |   2 +-
 tests/securityselinuxtest.c                   |   2 +-
 .../vmx2xml-esx-in-the-wild-11.vmx            |  97 ++++++++++++++++
 .../vmx2xml-esx-in-the-wild-11.xml            |  43 +++++++
 tests/vmx2xmltest.c                           |   1 +
 21 files changed, 239 insertions(+), 91 deletions(-)
 create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.vmx
 create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.xml

-- 
2.31.1

Re: [PATCH 0/7] vmx: Support super wide SCSI bus
Posted by Jano Tomko 2 years, 8 months ago
On a %A in %Y, Michal Privoznik wrote:
> As of vSphere 6.7 there can be up to 64 units on a SCSI bus.
> 
> Honestly, I'm not a big fan of 5/7 but we want to support three
> different values and one of them doesn't depend on the driver that's
> assigning the disk address, but at a runtime information. Thus using
> xmlopt is not good enough. Any clever idea is very welcome.
> 

Sorry to disappoint, no cleverer ideas here O:-)

> Michal Prívozník (7):
>   vmx: Fill virtualHW.version to ESX version mapping
>   vmx2xmltest: Add a test case
>   vmx: Rework disk def allocation
>   vmx: Drop needless check in virVMXParseDisk()
>   conf: Store SCSI bus length in virDomainDef
>   vmx: Support super wide SCSI bus
>   DO NOT MERGE
> 
>  src/bhyve/bhyve_parse_command.c               |   2 +-
>  src/conf/domain_conf.c                        |  33 +++---
>  src/conf/domain_conf.h                        |  10 +-
>  src/hyperv/hyperv_driver.c                    |   4 +-
>  src/libxl/libxl_driver.c                      |   2 +-
>  src/libxl/xen_xl.c                            |   2 +-
>  src/libxl/xen_xm.c                            |   2 +-
>  src/lxc/lxc_native.c                          |   2 +-
>  src/openvz/openvz_conf.c                      |   2 +-
>  src/qemu/qemu_process.c                       |   2 +-
>  src/vbox/vbox_common.c                        |   8 +-
>  src/vmx/vmx.c                                 | 108 +++++++++---------
>  src/vz/vz_sdk.c                               |   2 +-
>  tests/genericxml2xmltest.c                    |   2 +-
>  tests/openvzutilstest.c                       |   2 +-
>  tests/qemublocktest.c                         |   2 +-
>  tests/qemumonitortestutils.c                  |   2 +-
>  tests/securityselinuxtest.c                   |   2 +-
>  .../vmx2xml-esx-in-the-wild-11.vmx            |  97 ++++++++++++++++
>  .../vmx2xml-esx-in-the-wild-11.xml            |  43 +++++++
>  tests/vmx2xmltest.c                           |   1 +
>  21 files changed, 239 insertions(+), 91 deletions(-)
>  create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.vmx
>  create mode 100644 tests/vmx2xmldata/vmx2xml-esx-in-the-wild-11.xml
> 

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano