On Fri, Jun 09, 2017 at 05:52:30PM +0200, Eric Auger wrote: > 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.au...@redhat.com>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu