qemu-irix/hw
Peter Xu f80c98740e intel_iommu: allow dev-iotlb context entry conditionally
When device-iotlb is not specified, we should fail this check. A new
function vtd_ce_type_check() is introduced.

While I'm at it, clean up the vtd_dev_to_context_entry() a bit - replace
many "else if" usage into direct if check. That'll make the logic more
clear.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
2017-05-25 21:25:27 +03:00
..
9pfs migration/next for 20170517 2017-05-18 10:05:52 +01:00
acpi pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
adc
alpha memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
arm pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
audio audio: Rename hw/audio/audio.h to hw/audio/soundhw.h 2017-05-19 10:48:54 +02:00
block pflash_cfi01: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
bt
char
core migration/next for 20170517 2017-05-18 10:05:52 +01:00
cpu
cris
display migration: Create migration/blocker.h 2017-05-17 12:04:59 +02:00
dma memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
gpio qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
i2c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
i386 intel_iommu: allow dev-iotlb context entry conditionally 2017-05-25 21:25:27 +03:00
ide allwinner-ahci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
input qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
intc migration/next for 20170517 2017-05-18 10:05:52 +01:00
ipack
ipmi
isa isabus-bridge: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
lm32
m68k
mem
microblaze
mips qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
misc migration/next for 20170517 2017-05-18 10:05:52 +01:00
moxie
net e1000e: Fix ICR "Other" causes clear logic 2017-05-23 10:10:38 +08:00
nios2
nvram fw_cfg: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
openrisc
pci pci: deassert intx when pci device unrealize 2017-05-18 00:35:15 +03:00
pci-bridge pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
pci-host memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
pcmcia
ppc memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
s390x memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
scsi esp: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
sd generic-sdhci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
sh4 qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
smbios
sparc
sparc64
ssi
timer hpet: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
tpm clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
tricore
unicore32
usb sysbus-ohci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
vfio memory: remove the last param in memory_region_iommu_replay() 2017-05-25 21:25:27 +03:00
virtio migration: migration.h was not needed 2017-05-18 19:20:59 +02:00
watchdog
xen xen-sysdev: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
xenpv
xtensa
Makefile.objs