Commit 50212d63 authored by Committed by Peter Maydell
Revert "fix return check for KVM_GET_DIRTY_LOG ioctl"
This reverts commit b533f658. The original code was wrong, because effectively it ignored errors from kernel, because kernel does not return -1 on error case but returns -errno, and does not return -EPERM for this particular ioctl. But in some cases kernel actually returned unsuccessful result, namely, when the dirty bitmap in requested slot does not exist it returns -ENOENT. With new code this condition becomes an error when it shouldn't be. Revert that patch instead of fixing it properly this late in the release process. I disagree with this approach, but let's make things move _somewhere_, instead of arguing endlessly whch of the 2 proposed fixes is better. Signed-off-by: Michael Tokarev <firstname.lastname@example.org> Message-id: email@example.com Signed-off-by: Peter Maydell <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion