aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2016-08-08 17:29:28 +0100
committerChristoffer Dall <[email protected]>2016-08-09 16:43:23 +0200
commitfd837b08d98c0c9f4f31998f2ed55b9d8694082c (patch)
treec589233e641273319c4dd8248ce54e6c1d4fb526 /lib/cpu-notifier-error-inject.c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
KVM: arm64: ITS: return 1 on successful MSI injection
According to the KVM API documentation a successful MSI injection should return a value > 0 on success. Return possible errors in vgic_its_trigger_msi() and report a successful injection back to userland, while also reporting the case where the MSI could not be delivered due to the guest not having the LPI mapped, for instance. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Eric Auger <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions