qemu-irix/hw
Eduardo Habkost ca2edcd35c kvmclock: Don't crash QEMU if KVM is disabled
Most machines don't allow sysbus devices like "kvmclock" to be
created from the command-line, but some of them do (the ones with
has_dynamic_sysbus=true). In those cases, it's possible to
manually create a kvmclock device without KVM being enabled,
making QEMU crash:

  $ qemu-system-x86_64 -machine q35,accel=tcg -device kvmclock
  Segmentation fault (core dumped)

This changes kvmclock's realize method to return an error if KVM
is disabled, to ensure it won't crash QEMU.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170309185046.17555-1-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-03-14 13:26:36 +01:00
..
9pfs 9pfs: fix vulnerability in openat_dir() and local_unlinkat_common() 2017-03-06 17:34:01 +01:00
acpi virtio, pc: fixes, features 2017-03-03 10:09:03 +00:00
adc
alpha hw: Default -drive to if=ide explicitly where it works 2017-02-21 13:10:53 +01:00
arm bcm2835: add sdhost and gpio controllers 2017-02-28 17:10:00 +00:00
audio
block hw/block: Introduce share-rw qdev property 2017-02-28 20:40:36 +01:00
bt
char
core Migration pull 2017-03-02 17:39:12 +00:00
cpu
cris
display qxl: clear guest_cursor on QXL_CURSOR_HIDE 2017-03-09 09:47:26 +01:00
dma
gpio bcm2835_gpio: add bcm2835 gpio controller 2017-02-28 17:10:00 +00:00
i2c
i386 kvmclock: Don't crash QEMU if KVM is disabled 2017-03-14 13:26:36 +01:00
ide hw/block: Request permissions 2017-02-28 20:40:36 +01:00
input
intc hw/intc/arm_gic: modernise the DPRINTF 2017-03-09 10:41:49 +00:00
ipack
ipmi
isa
lm32
m68k hw/m68k: QOMify the ColdFire interrupt controller 2017-02-18 22:23:31 +01:00
mem
microblaze
mips hw/mips: MIPS Boston board support 2017-02-24 10:37:21 +00:00
misc hw/arm/exynos: Fix Linux kernel division by zero for PLLs 2017-02-28 12:08:20 +00:00
moxie
net vmxnet3: VMStatify rx/tx q_descr and int_state 2017-03-06 11:46:02 +08:00
nios2
nvram hw/block: Request permissions 2017-02-28 20:40:36 +01:00
openrisc
pci spapr/pci: populate PCI DT in reverse order 2017-03-01 11:23:39 +11:00
pci-bridge
pci-host ppc patch queue for 2017-02-22 2017-02-24 10:13:57 +00:00
pcmcia
ppc pseries: Don't expose PCIe extended config space on older machine types 2017-03-14 11:54:17 +11:00
s390x s390x/ipl: Load network boot image 2017-02-28 12:04:48 +01:00
scsi hw/block: Request permissions 2017-02-28 20:40:36 +01:00
sd Block layer patches 2017-03-01 23:09:46 +00:00
sh4 hw: Default -drive to if=ide explicitly where it works 2017-02-21 13:10:53 +01:00
smbios
sparc sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
sparc64 sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
ssi
timer armv7m: Split systick out from NVIC 2017-02-28 16:18:49 +00:00
tpm
tricore
unicore32
usb ohci: relax link check 2017-03-09 09:46:13 +01:00
vfio vfio/pci-quirks.c: Disable stolen memory for igd VFIO 2017-02-22 13:19:59 -07:00
virtio virtio: unbreak virtio-pci with IOMMU after caching ring translations 2017-03-02 07:14:28 +02:00
watchdog
xen
xenpv
xtensa target/xtensa: sim: instantiate local memories 2017-02-23 10:30:41 -08:00
Makefile.objs