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
disas
exec cpu-all: complete "real" host page size API 2015-07-06 12:15:12 -06:00
fpu
hw xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled 2015-07-07 17:44:52 +02:00
libdecnumber
migration
monitor
net
qapi
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
config.h
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
qjson.h
trace-tcg.h
trace.h