qemu-e2k/include/hw
Marcel Apfelbaum 8caff63699 machine: replace qemu opts with iommu property
Fixes a QEMU crash when passing iommu parameter in command line.
Running
    x86_64-softmmu/qemu-system-x86_64 -machine pc,iommu=on -enable-kvm
leads to crash:
    qemu-system-x86_64: qemu/util/qemu-option.c:387: qemu_opt_get_bool_helper:
    Assertion `opt->desc && opt->desc->type == QEMU_OPT_BOOL' failed.
    Aborted (core dumped)

This happens because commit e79d5a6 ("machine: remove qemu_machine_opts global
list") removed the global option descriptions and moved them to MachineState's
QOM properties.

Fix this by querying machine properties through designated wrappers.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
2015-03-11 18:10:43 +01:00
..
acpi aml-build: comment fix 2015-03-08 11:51:46 +01:00
arm
audio
block
char
cpu
cris
i2c
i386 pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
input
intc
ipack
isa pc: export applesmc IO port/len 2015-03-01 12:33:22 +01:00
kvm
lm32
m68k
mem
mips
misc
net
nvram
pci pci: Give a few helpers internal linkage 2015-03-01 12:35:21 +01:00
pci-host sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
ppc sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
s390x
scsi
sh4
sparc QOM infrastructure fixes and device conversions 2015-03-02 13:20:43 +00:00
timer
tricore
unicore32
usb
vfio vfio: allow to disable MMAP per device with -x-mmap=off option 2015-03-02 11:38:55 -07:00
virtio virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00
xen xen: Remove xen_cmos_set_s3_resume() 2015-03-10 08:15:33 +03:00
boards.h machine: replace qemu opts with iommu property 2015-03-11 18:10:43 +01:00
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h