Re: [RFC PATCH 1/2] KVM: count the number of dirty bits for each memslot

2010-11-18 Thread Avi Kivity
On 11/18/2010 03:10 PM, Jan Kiszka wrote: Am 18.11.2010 13:54, Avi Kivity wrote: > On 11/18/2010 07:14 AM, Takuya Yoshikawa wrote: >> This patch introduces the counter to hold the number of dirty bits in >> each >> memslot. We will use this to optimize dirty logging later. >> >> >> @@ -3217,

Re: [RFC PATCH 1/2] KVM: count the number of dirty bits for each memslot

2010-11-18 Thread Jan Kiszka
Am 18.11.2010 13:54, Avi Kivity wrote: > On 11/18/2010 07:14 AM, Takuya Yoshikawa wrote: >> This patch introduces the counter to hold the number of dirty bits in >> each >> memslot. We will use this to optimize dirty logging later. >> >> >> @@ -3217,11 +3216,8 @@ int kvm_vm_ioctl_get_dirty_log(stru

Re: [RFC PATCH 1/2] KVM: count the number of dirty bits for each memslot

2010-11-18 Thread Avi Kivity
On 11/18/2010 07:14 AM, Takuya Yoshikawa wrote: This patch introduces the counter to hold the number of dirty bits in each memslot. We will use this to optimize dirty logging later. @@ -3217,11 +3216,8 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, n = kvm_dirty_bitmap_bytes(memslo

[RFC PATCH 1/2] KVM: count the number of dirty bits for each memslot

2010-11-17 Thread Takuya Yoshikawa
This patch introduces the counter to hold the number of dirty bits in each memslot. We will use this to optimize dirty logging later. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/x86.c |9 +++-- include/linux/kvm_host.h |1 + virt/kvm/kvm_main.c |6 +- 3 files