libvirt/src/vz
Michal Privoznik 5c254bb541 conf: Store SCSI bus length in virDomainDef
Libvirt assumes that a SCSI bus can fit up to 8 devices
(including controller itself), except for so called wide bus
which can accommodate up to 16 devices (again, including
controller). This plays important role when computing 'drive'
address in virDomainDiskDefAssignAddress(). So far, the only
driver that enables wide SCSI bus is VMX. But with newer
releases, ESX is capable of "super wide" bus (64 devices).

We can blindly bump the limit in our code because then we would
compute address that's invalid for older ESX versions that we
still want to support.

Unfortunately, I haven't found a better place where to store this
than virDomainDef.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-08-16 14:22:38 +02:00
..
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
virtvzd.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtvzd.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtvzd.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
vz_driver.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
vz_driver.h src/vz: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vz_sdk.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
vz_sdk.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
vz_utils.c conf: domain: Convert virDomainDiskDef's 'bus' to virDomainDiskBus 2021-04-19 14:44:00 +02:00
vz_utils.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00