qemu-e2k/hw
David Hildenbrand eb24f7c689 s390x/kvm: proper use of the cpu states OPERATING and STOPPED
This patch makes sure that halting a cpu and stopping a cpu are two different
things. Stopping a cpu will also set the cpu halted - this is needed for common
infrastructure to work (note that the stop and stopped flag cannot be used for
our purpose because they are already used by other mechanisms).

A cpu can be halted ("waiting") when it is operating. If interrupts are
disabled, this is called a "disabled wait", as it can't be woken up anymore. A
stopped cpu is treated like a "disabled wait" cpu, but in order to prepare for a
proper cpu state synchronization with the kvm part, we need to track the real
logical state of a cpu.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: Andreas Faerber <afaerber@suse.de>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2014-10-10 10:37:47 +02:00
..
9pfs hw/9pfs: Don't return type from host in readdir on local 9p filesystem 2014-09-04 10:51:13 -05:00
acpi pcihp: fix possible array out of bounds 2014-08-25 00:16:06 +02:00
alpha ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
arm - Memory: improve error reporting and avoid crashes on hotplug 2014-09-12 16:55:49 +01:00
audio ac97: register reset via qom 2014-09-29 10:20:05 +02:00
block block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
bt l2cap: fix access to freed memory 2014-08-15 19:12:48 +04:00
char serial: check if backed by a physical serial port at realize time 2014-09-19 10:50:07 +02:00
core pci, pc, virtio, misc bugfixes 2014-09-18 20:02:01 +01:00
cpu
cris memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
display vga: Add endian to vmstate 2014-09-30 13:34:09 +02:00
dma hw/dma/i8257: Silence phony error message 2014-09-16 12:35:02 +02:00
gpio pl061: implement input interrupt logic 2014-09-12 14:06:48 +01:00
i2c Fix debug print warning 2014-09-02 22:38:16 +04:00
i386 q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
ide q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
input hw/input/tsc210x.c: Delete unused array tsc2101_rates 2014-09-29 18:48:48 +01:00
intc hw/intc/imx_avic.c: Remove unused function imx_avic_set_prio() 2014-09-29 18:48:47 +01:00
ipack memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
isa Fix debug print warning 2014-09-02 22:38:16 +04:00
lm32 memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
m68k memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
mem pc-dimm: Don't check dimm->node when there is non-NUMA config 2014-09-29 19:44:04 +03:00
microblaze memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
mips ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
misc vfio: make rom read endian sensitive 2014-09-22 15:27:43 -06:00
moxie memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
net virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
nvram PPC: mac_nvram: Split NVRAM into OF and OSX parts 2014-09-08 12:50:52 +02:00
openrisc memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
pci pci-hotplug-old: avoid losing error message 2014-09-29 19:44:04 +03:00
pci-bridge ioh3420: remove unused ioh3420_init() declaration 2014-09-02 17:28:26 +03:00
pci-host - Memory: improve error reporting and avoid crashes on hotplug 2014-09-12 16:55:49 +01:00
pcmcia
ppc ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
s390x s390x/kvm: proper use of the cpu states OPERATING and STOPPED 2014-10-10 10:37:47 +02:00
scsi virtio-scsi: fix use-after-free of VirtIOSCSIReq 2014-10-09 15:36:15 +02:00
sd sd: sdhci: Fix ADMA dma_memory_read access 2014-08-04 14:41:54 +01:00
sh4 memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
sparc tcx: Implement hardware acceleration 2014-09-23 22:23:14 +01:00
sparc64 ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
ssi ssi: xilinx_spi: Initialise CS GPIOs as NULL 2014-08-15 18:54:40 +04:00
timer mc146818rtc: add missed field to vmstate 2014-09-11 12:20:32 +02:00
tpm Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00
tricore memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
unicore32 memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
usb ohci: drop computed flags from trace events 2014-09-26 09:43:06 +01:00
virtio This update brings dataplane to virtio-scsi (NOT 2014-09-30 16:45:35 +01:00
watchdog memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
xen memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
xenpv
xtensa memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
Makefile.objs