libvirt/src/qemu
Michal Privoznik 7711a7346a qemu: Relax os.loader->type check when validating domain
When validating a domain among all the checks there are two that
concern VIR_DOMAIN_LOADER_TYPE_PFLASH specifically. The first
check ensures that on x86 ACPI is enabled when UEFI is requested,
the second ensures that UEFI is used when ACPI is requested on
aarch64. However, check for UEFI is done by plain comparison of
def->os.loader->type which is insufficient because we have
def->os.firmware too.

NB, this wouldn't be a problem for active domain, because on
startup process def->os.loader->type gets filled by
qemuFirmwareEnableFeatures(), but that's not the case for
inactive domains.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1729604

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2019-07-15 13:24:09 +02:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug Revert "qemu: Temporary disable owner remembering" 2019-07-03 08:36:04 +02:00
Makefile.inc.am qemu: Move qemuParseKeywords(Free) to the monitor code 2019-06-20 12:15:05 +02:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_agent.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_alias.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemu_alias.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_block.c qemu: block: Split up qemuBlockStorageSourceAttachApply 2019-07-15 10:26:23 +02:00
qemu_block.h qemu: Introduce new set of helpers for attaching and detaching storage chains 2019-06-26 08:59:37 +02:00
qemu_blockjob.c qemu: blockjob: Don't emit traditional disk events for jobs without disk 2019-07-15 10:26:23 +02:00
qemu_blockjob.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_capabilities.c qemu: Add bochs-display capability 2019-07-15 10:21:21 +02:00
qemu_capabilities.h qemu: Add bochs-display capability 2019-07-15 10:21:21 +02:00
qemu_capspriv.h qemu: Translate feature names from query-cpu-model-expansion 2019-06-20 00:22:39 +02:00
qemu_cgroup.c qemu: De-duplicate some path definitions 2019-07-03 09:33:45 +02:00
qemu_cgroup.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_command.c qemu: add 'bochs' video display type 2019-07-15 10:21:21 +02:00
qemu_command.h qemu: Introduce new set of helpers for attaching and detaching storage chains 2019-06-26 08:59:37 +02:00
qemu_conf.c Revert "qemu: Temporary disable owner remembering" 2019-07-03 08:36:04 +02:00
qemu_conf.h qemu: acquire a pidfile in the driver root directory 2019-07-11 12:46:20 +01:00
qemu_domain_address.c qemu: add 'bochs' video display type 2019-07-15 10:21:21 +02:00
qemu_domain_address.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_domain.c qemu: Relax os.loader->type check when validating domain 2019-07-15 13:24:09 +02:00
qemu_domain.h qemu: De-duplicate some path definitions 2019-07-03 09:33:45 +02:00
qemu_driver.c qemu: Refactor variables for extracting flags in qemuDomainBlockCopyCommon 2019-07-15 10:26:23 +02:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c Require a semicolon for VIR_LOG_INIT calls 2019-02-03 17:46:29 -05:00
qemu_extdevice.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_firmware.c qemu_firmware: only set nfeatures on success 2019-06-26 09:24:09 +02:00
qemu_firmware.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hostdev.c qemu: De-duplicate some path definitions 2019-07-03 09:33:45 +02:00
qemu_hostdev.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hotplug.c qemu: distinguish pr disk before qemuHotplugRemoveManagedPR 2019-06-26 17:10:52 +02:00
qemu_hotplug.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hotplugpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_interface.c Revert "virt drivers: don't handle type=network after resolving actual network type" 2019-04-30 14:42:22 +01:00
qemu_interface.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_cookie.c qemu: Use VIR_XPATH_NODE_AUTORESTORE when XPath context is modified 2019-03-04 13:04:20 +01:00
qemu_migration_cookie.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_params.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
qemu_migration_params.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_paramspriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration.c qemu: assume monJSON is always true 2019-06-20 13:47:41 +02:00
qemu_migration.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_monitor_json.c qemu: monitor: Remove text monitor support for cpu hot(un)plug 2019-06-20 15:59:19 +02:00
qemu_monitor_json.h qemu: Introduce generic qemuMonitorGetGuestCPU 2019-06-20 00:22:39 +02:00
qemu_monitor_priv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_monitor_text.c qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor_text.h qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor.c qemu: monitor: s/ret/rc/ in UpdateVideoSize functions 2019-06-20 13:47:41 +02:00
qemu_monitor.h qemu: Adjust ATTRIBUTE_NONNULL 2019-06-21 15:35:51 -04:00
qemu_process.c qemu: Implement support for 'capability_filters' config option 2019-06-21 15:24:06 +02:00
qemu_process.h qemu: also delete qemuProcessAttach 2019-06-20 12:47:10 +02:00
qemu_processpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_qapi.c qemu: qapi: Implement support for 'features' 2019-06-20 09:20:04 +02:00
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_security.c qemu_security: Implement qemuSecurityMoveImageMetadata 2019-07-03 08:36:04 +02:00
qemu_security.h qemu_security: Implement qemuSecurityMoveImageMetadata 2019-07-03 08:36:04 +02:00
qemu_tpm.c tpm: minor argument comment fix 2019-06-26 09:24:09 +02:00
qemu_tpm.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu.conf Revert "qemu: Temporary disable owner remembering" 2019-07-03 08:36:04 +02:00
test_libvirtd_qemu.aug.in Revert "qemu: Temporary disable owner remembering" 2019-07-03 08:36:04 +02:00
THREADS.txt qemu: Introduce APIs for manipulating qemuDomainAgentJob 2018-06-20 13:24:17 +02:00