libvirt/src/qemu
Michal Privoznik 67b973b510 qemuDomainDefPostParse: Fail if unable to fill machine type
Previously, we used virCapabilitiesDomainDataLookup() to fill
machine type in post parse callback if none was provided in the
domain XML. If machine type couldn't be filled in an error was
reported. After 4a4132b462 we've changed it to
virQEMUCapsGetPreferredMachine() which returns NULL, but we no
longer report an error and proceed with the post parse callbacks
processing. This may lead to a crash because the code later on
assumes def->os.machine is not NULL.

Fixes: 4a4132b462

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Mores <pmores@redhat.com>
2020-04-16 16:14:05 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
Makefile.inc.am qemu: move qemuDomainDefValidateFeatures to qemu_validate.c 2020-04-03 16:25:30 +02:00
MIGRATION.txt
qemu_agent.c qemu_agent.c: Use g_autofree in qemu_agent.c 2020-03-27 11:33:31 +01:00
qemu_agent.h qemuAgentGetFSInfo: expose 'report_unsupported' argument 2020-03-25 13:13:18 +01:00
qemu_alias.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_alias.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_backup.c qemu: backup: Fix handling of backing store for backup target images 2020-04-14 18:37:05 +02:00
qemu_backup.h
qemu_block.c qemuBlockStorageSourceGetURI: Pass through query component 2020-03-30 16:30:34 +02:00
qemu_block.h qemu: block: Support VIR_DOMAIN_BLOCK_COMMIT/PULL/REBASE_RELATIVE with blockdev 2020-03-30 16:28:48 +02:00
qemu_blockjob.c qemuBlockJobRefreshJobs: Warn readers that 'job' may be invalid after update 2020-04-03 09:34:49 +02:00
qemu_blockjob.h qemuBlockJobUpdate: Remove return value 2020-04-03 09:34:49 +02:00
qemu_capabilities.c qemu: new capabilities flag pcie-root-port.hotplug 2020-04-12 22:30:10 -04:00
qemu_capabilities.h qemu: new capabilities flag pcie-root-port.hotplug 2020-04-12 22:30:10 -04:00
qemu_capspriv.h
qemu_cgroup.c qemu: Drop virQEMUDriverIsPrivileged() 2020-04-07 15:26:15 +02:00
qemu_cgroup.h
qemu_checkpoint.c qemu_checkpoint.c: Use g_autofree in qemuCheckpointPrepare() 2020-04-03 14:16:49 +02:00
qemu_checkpoint.h
qemu_command.c qemu: hook up pcie-root-port hotplug='off' option 2020-04-12 22:34:19 -04:00
qemu_command.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_conf.c qemu: Make memory path generation embed driver aware 2020-04-07 15:26:32 +02:00
qemu_conf.h qemu: Make memory path generation embed driver aware 2020-04-07 15:26:32 +02:00
qemu_dbus.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_dbus.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_domain_address.c qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init 2020-04-12 22:39:51 -04:00
qemu_domain_address.h
qemu_domain.c qemuDomainDefPostParse: Fail if unable to fill machine type 2020-04-16 16:14:05 +02:00
qemu_domain.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_driver.c qemu: Revoke access to mirror on failed blockcopy 2020-04-16 16:12:41 +02:00
qemu_driver.h
qemu_extdevice.c qemu: remove dbus-vmstate code 2020-03-24 15:57:33 +01:00
qemu_extdevice.h
qemu_firmware.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_firmware.h
qemu_hostdev.c
qemu_hostdev.h
qemu_hotplug.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_hotplug.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_interface.c qemu: Drop virQEMUDriverIsPrivileged() 2020-04-07 15:26:15 +02:00
qemu_interface.h
qemu_interop_config.c
qemu_interop_config.h
qemu_migration_cookie.c
qemu_migration_cookie.h
qemu_migration_params.c qemu: fix hang in p2p + xbzrle compression + parallel migration 2020-04-16 09:53:04 +02:00
qemu_migration_params.h
qemu_migration_paramspriv.h
qemu_migration.c qemu: migration: Don't use return value of qemuBlockJobUpdate 2020-04-03 09:34:49 +02:00
qemu_migration.h
qemu_monitor_json.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_monitor_json.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c qemu_monitor_text.c: Use g_autofree 2020-03-24 14:52:45 +01:00
qemu_monitor_text.h
qemu_monitor.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_monitor.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_process.c qemu: Make memory path generation embed driver aware 2020-04-07 15:26:32 +02:00
qemu_process.h
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_security.c
qemu_security.h
qemu_shim.c
qemu_slirp.c WIP: qemu-slirp: update to follow current spec 2020-03-24 15:57:33 +01:00
qemu_slirp.h qemu: remove dbus-vmstate code 2020-03-24 15:57:33 +01:00
qemu_tpm.c
qemu_tpm.h
qemu_validate.c qemu: hook up pcie-root-port hotplug='off' option 2020-04-12 22:34:19 -04:00
qemu_validate.h qemu: move qemuValidateDomainDeviceDef() to qemu_validate.c 2020-04-03 16:25:30 +02:00
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c
qemu_vhost_user.h
qemu_virtiofs.c qemuVirtioFSStop: Simplify daemon kill 2020-03-24 15:54:31 +01:00
qemu_virtiofs.h
qemu.conf qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
test_libvirtd_qemu.aug.in qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
THREADS.txt
virtqemud.init.in
virtqemud.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtqemud.sysconf qemu: Allow audio driver override in virtqemud 2020-04-03 11:50:57 +02:00