diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-04-18 13:39:30 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2019-04-30 12:35:16 +0300 |
commit | e8676ce50e224d507946b1c535bc13584e6b49ff (patch) | |
tree | e8919c89817981acace608139a28c1a16f6fe14b /block/blk-zoned.c | |
parent | 4131f83c3d64e591014dad14c7f8070c538b9422 (diff) | |
download | linux-e8676ce50e224d507946b1c535bc13584e6b49ff.tar.xz |
KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
This control will be used by the H_INT_SET_SOURCE_CONFIG hcall from
QEMU to configure the target of a source and also to restore the
configuration of a source when migrating the VM.
The XIVE source interrupt structure is extended with the value of the
Effective Interrupt Source Number. The EISN is the interrupt number
pushed in the event queue that the guest OS will use to dispatch
events internally. Caching the EISN value in KVM eases the test when
checking if a reconfiguration is indeed needed.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions