kvm: libkvm: kvm_dirty_pages_log_change: do not forget to set .slot
commit3975d364e82254fe87eade8ab166d8730258f537
authorUri Lublin <uril@qumranet.com>
Sun, 28 Sep 2008 14:32:57 +0000 (28 17:32 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 28 Sep 2008 15:06:32 +0000 (28 18:06 +0300)
tree6d3ef37d0bf5b922e3e754061f15f4784ff2b18d
parent8fbe341e5872e8065ca76de8e66b664b6e69988b
kvm: libkvm: kvm_dirty_pages_log_change: do not forget to set .slot

The default for .slot is 0, which is wrong for all other kvm-slots.

This fixes enabling/disabling kvm dirty page logging.

Signed-off-by: Uri Lublin <uril@qumranet.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
libkvm/libkvm.c