diff options
| author | Cédric Le Goater <clg@kaod.org> | 2019-08-13 18:44:20 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2019-08-21 17:17:39 +1000 |
| commit | f55750e4e4fb35b6a12c81c485f16494e2c61ad2 (patch) | |
| tree | 3f107fa40a9191b3e4fd6a5a169ee18282530891 /util/async.c | |
| parent | fd38b1629cdb73da17e6fa294168e0c1bb1ccb07 (diff) | |
| download | focaccia-qemu-f55750e4e4fb35b6a12c81c485f16494e2c61ad2.tar.gz focaccia-qemu-f55750e4e4fb35b6a12c81c485f16494e2c61ad2.zip | |
spapr/xive: Mask the EAS when allocating an IRQ
If an IRQ is allocated and not configured, such as a MSI requested by a PCI driver, it can be saved in its default state and possibly later on restored using the same state. If not initially MASKED, KVM will try to find a matching priority/target tuple for the interrupt and fail to restore the VM because 0/0 is not a valid target. When allocating a IRQ number, the EAS should be set to a sane default : VALID and MASKED. Reported-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190813164420.9829-1-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions