libvirt/src/libxl
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
..
libvirtd_libxl.aug libxl: do not enable nested HVM unless global nested_hvm option enabled 2018-04-17 21:15:27 -06:00
libxl_api_wrapper.h libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
libxl_capabilities.c Xen: Remove unneeded LIBXL_HAVE_* ifdefs 2021-06-21 10:43:04 -06:00
libxl_capabilities.h Xen: Remove unneeded LIBXL_HAVE_* ifdefs 2021-06-21 10:43:04 -06:00
libxl_conf.c libxl: remove conditionals from discard configuration 2021-08-13 08:44:01 -06:00
libxl_conf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_domain.c libxl: Add helper function for running the hook script 2021-07-12 14:02:18 -06:00
libxl_domain.h libxl: Add helper function for running the hook script 2021-07-12 14:02:18 -06:00
libxl_driver.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
libxl_driver.h src/libxl: use #pragma once in headers 2019-06-13 17:05:10 +02:00
libxl_logger.c libxlLoggerNew: virHashNew cannot return NULL 2021-07-23 11:30:34 +02:00
libxl_logger.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.c libxl: Add helper function for running the hook script 2021-07-12 14:02:18 -06:00
libxl_migration.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl.conf libxl: do not enable nested HVM unless global nested_hvm option enabled 2018-04-17 21:15:27 -06:00
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
test_libvirtd_libxl.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtxend.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtxend.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtxend.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
xen_common.c util: alloc: Reimplement VIR_APPEND_ELEMENT using virAppendElement 2021-08-06 08:53:25 +02:00
xen_common.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
xen_xl.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
xen_xm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xenxs_private.h xenconfig: move contents to libxl driver and remove directory 2019-08-26 11:06:12 -06:00