qemu-e2k/include
Bharata B Rao a45863bda9 xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled
When supporting CPU hot removal by parking the vCPU fd and reusing
it during hotplug again, there can be cases where we try to reenable
KVM_CAP_IRQ_XICS CAP for the vCPU for which it was already enabled.
Introduce a boolean member in ICPState to track this and don't
reenable the CAP if it was already enabled earlier.

Re-enabling this CAP should ideally work, but currently it results in
kernel trying to create and associate ICP with this vCPU and that
fails since there is already an ICP associated with it. Hence this
patch is needed to work around this problem in the kernel.

This change allows CPU hot removal to work for sPAPR.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-07-07 17:44:52 +02:00
..
block block: Remove bdrv_reset_dirty 2015-07-02 10:06:23 +01:00
disas disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00
exec cpu-all: complete "real" host page size API 2015-07-06 12:15:12 -06:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled 2015-07-07 17:44:52 +02:00
libdecnumber
migration migration: introduce VMSTATE_BUFFER_UNSAFE_INFO_TEST() 2015-06-23 22:57:47 +02:00
monitor Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
qemu * more of Peter Crosthwaite's multiarch preparation patches 2015-07-06 14:03:44 +01:00
qom cpus: Add a macro to walk CPUs in reverse 2015-07-07 17:44:52 +02:00
standard-headers linux-headers: Update to 4.2-rc1 2015-07-06 17:59:01 +02:00
sysemu VFIO updates for 2.4-rc0 2015-07-07 09:22:40 +01:00
ui Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
config.h
elf.h linux/elf.h update 2015-05-27 17:52:03 +02:00
glib-compat.h glib: remove stale compat functions 2015-05-22 15:58:06 -04:00
qemu-common.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h
trace.h