Re: [PATCH] KVM: cleanup kvm_get_dirty_log()

2010-03-16 Thread Xiao Guangrong
Takuya Yoshikawa wrote: > Xiao Guangrong wrote: >> Using bitmap_empty() to see whether memslot->dirty_bitmap is empty >> > > You can do this for arch specific get_dirty_log() too. OK, i'll do it in the next version > >> Signed-off-by: Xiao Guangrong >> --- >> virt/kvm/kvm_main.c |6 ++--

Re: [PATCH] KVM: cleanup kvm_get_dirty_log()

2010-03-16 Thread Takuya Yoshikawa
Xiao Guangrong wrote: Using bitmap_empty() to see whether memslot->dirty_bitmap is empty You can do this for arch specific get_dirty_log() too. Signed-off-by: Xiao Guangrong --- virt/kvm/kvm_main.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_m

[PATCH] KVM: cleanup kvm_get_dirty_log()

2010-03-16 Thread Xiao Guangrong
Using bitmap_empty() to see whether memslot->dirty_bitmap is empty Signed-off-by: Xiao Guangrong --- virt/kvm/kvm_main.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index bcd08b8..497ae14 100644 --- a/virt/kvm/kvm_main.c