libvirt/src/qemu
Daniel P. Berrange 5dee668632 qemu: fix command line building for iommu devices
The intel-iommu device has existed since QEMU 2.2.0, but
it was only possible to create it with -device since
QEMU 2.7.0, thanks to:

  commit 621d983a1f9051f4cfc3f402569b46b77d8449fc
  Author: Marcel Apfelbaum <marcel@redhat.com>
  Date:   Mon Jun 27 18:38:34 2016 +0300

    hw/iommu: enable iommu with -device

    Use the standard '-device intel-iommu' to create the IOMMU device.
    The legacy '-machine,iommu=on' can still be used.

The libvirt capability check & command line formatting code
is thus broken for all QEMU versions 2.2.0 -> 2.6.0 inclusive.

This fixes it to use iommu=on instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-10-07 16:52:35 +01:00
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug conf: Introduce chartcp_tls_x509_cert_dir 2016-09-09 08:09:03 -04:00
MIGRATION.txt
qemu_agent.c qemu: agent: give better error messages whe agent monitor is down 2016-09-20 16:27:58 +02:00
qemu_agent.h qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemu_alias.c qemu: Add qemuAssignDeviceShmemAlias and use it 2016-09-20 15:42:43 +02:00
qemu_alias.h qemu: Add qemuAssignDeviceShmemAlias and use it 2016-09-20 15:42:43 +02:00
qemu_blockjob.c conf: add caps to virDomainObjFormat/SaveStatus 2016-02-05 10:57:08 +00:00
qemu_blockjob.h qemu: Use domain condition for synchronous block jobs 2015-06-19 15:15:10 +02:00
qemu_capabilities.c qemu: fix command line building for iommu devices 2016-10-07 16:52:35 +01:00
qemu_capabilities.h qemu: fix command line building for iommu devices 2016-10-07 16:52:35 +01:00
qemu_capspriv.h qemu: Fix crash in qemucapsprobe 2016-09-27 19:24:12 +02:00
qemu_cgroup.c numa: Rename virNumaGetHostNodeset and make it return only nodes with memory 2016-09-14 08:41:41 +02:00
qemu_cgroup.h qemu: Add missing 'p' to qemuCgrouEmulatorAllNodesRestore 2016-09-13 12:24:02 +02:00
qemu_command.c qemu: fix command line building for iommu devices 2016-10-07 16:52:35 +01:00
qemu_command.h qemu: Make qemuBuildShmemDevStr static 2016-09-20 15:42:43 +02:00
qemu_conf.c qemu: Introduce qemuGetHupageMemPath 2016-09-19 13:45:05 +02:00
qemu_conf.h qemu: Introduce qemuGetHupageMemPath 2016-09-19 13:45:05 +02:00
qemu_domain_address.c conf: Fix initialization value of 'multi' in PCI address 2016-09-02 16:43:00 +02:00
qemu_domain_address.h Add qemuDomainCCWAddrSetCreateFromDomain 2016-07-26 13:04:46 +02:00
qemu_domain.c Revert "conf: Skip post parse callbacks when creating copy" 2016-10-04 18:00:02 +02:00
qemu_domain.h qemu: domain: Add macro to simplify access to vm private data 2016-09-21 16:32:36 +02:00
qemu_driver.c qemu: Allow making vcpus hotpluggable with virDomainSetVcpusFlags 2016-10-05 09:05:59 +02:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c Use virDirOpenQuiet 2016-06-24 14:20:57 +02:00
qemu_hostdev.h qemu: hostdev: Introduce qemuHostdevUpdateActiveDomainDevices() 2015-10-26 13:50:35 +01:00
qemu_hotplug.c qemu: hotplug: Don't wait if cdrom tray is opened forcibly 2016-09-12 09:54:36 +02:00
qemu_hotplug.h qemu: hotplug: Add support for VCPU unplug 2016-08-24 15:44:47 -04:00
qemu_hotplugpriv.h
qemu_interface.c qemu: set tap device online for type='ethernet' 2016-08-25 18:54:01 -04:00
qemu_interface.h autocreate tap device for ethernet network type 2016-03-23 11:37:59 +00:00
qemu_migration.c qemuDomainDefPostParse: Fetch qemuCaps from domain object 2016-09-26 16:50:12 +02:00
qemu_migration.h qemu: Implement auto convergence migration parameters 2016-06-22 15:54:21 +02:00
qemu_monitor_json.c qemu: monitor: Properly configure backend for UDP chardevs 2016-10-06 09:13:39 +02:00
qemu_monitor_json.h qemu: Use virDomainCapsCPUModels for cpuDefinitions 2016-09-22 15:40:08 +02:00
qemu_monitor_text.c qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs 2016-08-24 15:44:47 -04:00
qemu_monitor_text.h qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs 2016-08-24 15:44:47 -04:00
qemu_monitor.c qemu: Don't strictly require JSON monitor for vCPU detection 2016-10-05 08:52:33 +02:00
qemu_monitor.h qemu: Use virDomainCapsCPUModels for cpuDefinitions 2016-09-22 15:40:08 +02:00
qemu_parse_command.c virDomainDefPostParse: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
qemu_parse_command.h qemu: parse: rename qemuCaps->caps 2016-02-19 09:45:23 -05:00
qemu_process.c qemu: attach: Close monitor socket on connection failure 2016-10-05 08:52:34 +02:00
qemu_process.h qemu: Use proper async job to refresh virtio channels 2016-06-30 09:41:39 +02:00
qemu_processpriv.h
qemu.conf conf: Introduce chartcp_tls_x509_cert_dir 2016-09-09 08:09:03 -04:00
test_libvirtd_qemu.aug.in conf: Introduce chartcp_tls_x509_cert_dir 2016-09-09 08:09:03 -04:00
THREADS.txt There is no virDomainFindBy{ID, Name, UUID} anymore 2015-08-03 13:08:00 +02:00