core-admin/qubes/tests
Marek Marczykowski-Górecki 6c7af109e5
ext/block: prefer connecting cdrom as xvdd
Only first 4 disks can be emulated as IDE disks by QEMU. Specifically,
CDROM must be one of those first 4 disks, otherwise it will be
ignored. This is especially important if one wants to boot the VM from
that CDROM.
Since xvdd normally is a kernel-related volume (boot image, modules) it
makes perfect sense to re-use it for CDROM. It is either set for kernel
volume (in which case, VM should boot from it and not the CDROM), or
(possibly bootable) CDROM.

This needs to be done in two places:
 - BlockExtension for dynamic attach
 - libvirt xen.xml - for before-boot attach

In theory the latter would be enough, but it would be quite confusing
that device will get different options depending on when it's attached
(in addition to whether the kernel is set - introduced here).

This all also means, xvdd not always is a "system disk". Adjust listing
connected disks accordingly.
2019-11-19 14:03:21 +01:00
..
integ tests: check if storage driver adjust the size on import_volume/clone 2019-10-31 01:17:26 +01:00
tools
vm ext/block: prefer connecting cdrom as xvdd 2019-11-19 14:03:21 +01:00
__init__.py tests: register syslog logger, log test start 2019-09-29 06:43:34 +02:00
api_admin.py Merge branch 'devel20191029' 2019-11-12 23:11:30 +01:00
api_internal.py tests: remove unused imports 2019-04-02 18:48:35 +02:00
api_misc.py Fix saving 'updates-available' flag reported by TemplateBasedVM 2019-01-19 03:25:21 +01:00
api.py
app.py tests: make PEP8 happier 2019-11-17 01:54:27 +01:00
devices_block.py ext/block: prefer connecting cdrom as xvdd 2019-11-19 14:03:21 +01:00
devices.py
events.py
ext.py Merge branch 'maxmem' 2018-12-09 18:38:21 +01:00
extra.py tests/extra: wrap ProcessWrapper.wait() to be asyncio-aware 2019-01-06 04:33:16 +01:00
firewall.py tests: fix firewall tests after 6e8e48e3 "Avoid UTC datetime" 2018-03-22 01:47:41 +01:00
init.py
run.py tests: register syslog logger, log test start 2019-09-29 06:43:34 +02:00
storage_file.py tests: check importing empty data into FileVolume 2019-07-28 22:06:30 +02:00
storage_kernels.py storage/kernels: fix listing volumes 2019-11-10 01:14:34 +01:00
storage_lvm.py Added admin.pool.UsageDetails API method 2019-10-23 03:04:30 +02:00
storage_reflink.py tests: check importing empty data into ReflinkVolume 2019-07-28 22:08:52 +02:00
storage.py Correct inconsistent behavior on unavailable usage data 2019-11-15 20:01:43 +01:00
tarwriter.py