kvm: libkvm: kvm_dirty_pages_log_change: do not forget to set .slot
commit3e5d2185165c2ef715e7bb9209c207d46df87bf8
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)
treebd46e76579dc3d73b0bac1d762705e75fce002b3
parent81a807eddc380af588bed0780518f05b7e0f7ebf
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>
kvm/libkvm/libkvm.c