libvirt/src/qemu
Pavel Hrdina 90acbc76ec qemu_domain: use correct default USB controller on ppc64
The history of USB controller for ppc64 guest is complex and goes
back to libvirt 1.3.1 where the fun started.

Prior Libvirt 1.3.1 if no model for USB controller was specified
we've simply passed "-usb" on QEMU command line.

Since Libvirt 1.3.1 there is a patch (8156493d8d) that fixes this
issue by using "-device pci-ohci,..." but it breaks migration with
older Libvirts which was agreed that's acceptable.  However this
patch didn't reflect this change in the domain XML and the model
was still missing.

Since Libvirt 2.2.0 there is a patch (f55eaccb0c) that fixes the
issue with not setting the USB model into domain XML which we need
to know about to not break the migration and since the default
model was *pci-ohci* it was used as default in this patch as well.

This patch tries to take all the previous changes into account and
also change the default for newly defined domains that don't specify
any model for USB controller.

The VIR_DOMAIN_DEF_PARSE_ABI_UPDATE is set only if new domain is
defined or new device is added into a domain which means that in
all other cases we will use the old *pci-ohci* model instead of the
better and not broken *nec-usb-xhci* model.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1373184

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-04-20 09:03:53 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c
qemu_agent.h
qemu_alias.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_alias.h
qemu_block.c qemu: block: Add code to fetch block node data by node name 2017-03-27 10:35:19 +02:00
qemu_block.h qemu: block: Add code to fetch block node data by node name 2017-03-27 10:35:19 +02:00
qemu_blockjob.c qemu: block: Add code to detect node names when necessary 2017-03-27 10:35:19 +02:00
qemu_blockjob.h
qemu_capabilities.c qemu: Use more data for comparing CPUs 2017-04-19 16:36:38 +02:00
qemu_capabilities.h qemu: Use more data for comparing CPUs 2017-04-19 16:36:38 +02:00
qemu_capspriv.h annotate all mocked functions with noinline 2017-04-19 10:51:51 +01:00
qemu_cgroup.c qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_cgroup.h qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_command.c qemu: Prepare qemuCaps for multiple host CPU defs 2017-04-19 16:36:38 +02:00
qemu_command.h qemu: Format mdevs on qemu command line 2017-03-27 15:39:35 +02:00
qemu_conf.c qemu: conf: Don't leak 'namespaces' temporary variable while parsing config 2017-04-12 14:54:36 +02:00
qemu_conf.h conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
qemu_domain_address.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_domain_address.h
qemu_domain.c qemu_domain: use correct default USB controller on ppc64 2017-04-20 09:03:53 +02:00
qemu_domain.h qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_driver.c qemu: snapshot: Skip empty drives with internal snapshots 2017-04-13 12:17:17 +02:00
qemu_driver.h
qemu_hostdev.c qemu: Fix mdev checking for VFIO support 2017-04-12 12:57:39 +02:00
qemu_hostdev.h hostdev: Maintain a driver list of active mediated devices 2017-03-27 15:39:35 +02:00
qemu_hotplug.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_hotplug.h qemu: Add job for qemuDomain{Add|Del}TLSObjects 2017-03-25 08:19:49 -04:00
qemu_hotplugpriv.h
qemu_interface.c
qemu_interface.h qemu: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_migration_cookie.c conf: add a new parse flag VIR_DOMAIN_DEF_PARSE_ABI_UPDATE_MIGRATION 2017-04-20 09:03:53 +02:00
qemu_migration_cookie.h qemu: Free persistent def inside qemuMigrationCookieFree 2017-03-27 20:55:18 +02:00
qemu_migration.c qemu: migration: Skip cache=none check for disks which are storage-migrated 2017-04-18 10:41:49 +02:00
qemu_migration.h qemu: Simplify qemuMigrationResetTLS 2017-04-07 13:43:37 +02:00
qemu_monitor_json.c qemu: Check migratable host CPU features 2017-03-30 09:59:42 +02:00
qemu_monitor_json.h qemu: Check migratable host CPU features 2017-03-30 09:59:42 +02:00
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: Implement qemuMonitorRegister() 2017-04-10 14:49:20 +02:00
qemu_monitor.h qemu: Implement qemuMonitorRegister() 2017-04-10 14:49:20 +02:00
qemu_parse_command.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_parse_command.h
qemu_process.c qemu: Use more data for comparing CPUs 2017-04-19 16:36:38 +02:00
qemu_process.h
qemu_processpriv.h
qemu_security.c qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu_security.h qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu.conf qemu: Update the TLS client verify descriptions for vnc and chardev 2017-03-25 08:19:49 -04:00
test_libvirtd_qemu.aug.in conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00