UPSTREAM: KVM: x86: switch to kvm_get_dirty_log_protect

We now have a generic function that does most of the work of
kvm_vm_ioctl_get_dirty_log, now use it.

BUG=chromium:846515
TEST=build/boot on hana with USE=kvm_host

Change-Id: Ie9b8f0a2b744c271d33ac1761917331057aea8f5
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
(cherry picked from commit e108ff2f8033a417ee3e517d9f8730f665646076)
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1088045
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
4 files changed