spapr: check for the activation of the KVM IRQ device
commit3bf84e99c823987704d1324cf0e34e7597e737a5
authorCédric Le Goater <clg@kaod.org>
Mon, 13 May 2019 08:42:41 +0000 (13 10:42 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:46 +0000 (29 11:39 +1000)
tree32db3a77eb8146ef9dbb3012f5df2812dbbf0c27
parent56b11587dfc79dc6453d857159801dcc38f24d0c
spapr: check for the activation of the KVM IRQ device

The activation of the KVM IRQ device depends on the interrupt mode
chosen at CAS time by the machine and some methods used at reset or by
the migration need to be protected.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190513084245.25755-11-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive_kvm.c
hw/intc/xics_kvm.c