diff options
author | Eric Auger | 2017-06-13 15:57:00 +0200 |
---|---|---|
committer | Peter Maydell | 2017-06-13 15:57:00 +0200 |
commit | 556969e938a97e98eec9df039944741ed74ce049 (patch) | |
tree | 5bfd2e4bed79664d6ef46861ab7197f40d3eb35e /include/hw/intc/arm_gicv3_its_common.h | |
parent | timer/aspeed: fix timer enablement when a reload is not set (diff) | |
download | qemu-556969e938a97e98eec9df039944741ed74ce049.tar.gz qemu-556969e938a97e98eec9df039944741ed74ce049.tar.xz qemu-556969e938a97e98eec9df039944741ed74ce049.zip |
kvm-all: Pass an error object to kvm_device_access
In some circumstances, we don't want to abort if the
kvm_device_access fails. This will be the case during ITS
migration, in case the ITS table save/restore fails because
the guest did not program the vITS correctly. So let's pass an
error object to the function and return the ioctl value. New
callers will be able to make a decision upon this returned
value.
Existing callers pass &error_abort which will cause the
function to abort on failure.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-id: 1497023553-18411-2-git-send-email-eric.auger@redhat.com
[PMM: wrapped long line]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/intc/arm_gicv3_its_common.h')
0 files changed, 0 insertions, 0 deletions