Don't start with dirty page logging
commit50d6d6ec9743e36263ecaab9cd9e8f52f136986b
authorIzik Eidus <izike@qumranet.com>
Wed, 28 Nov 2007 23:53:21 +0000 (29 01:53 +0200)
committerAvi Kivity <avi@qumranet.com>
Fri, 30 Nov 2007 07:34:55 +0000 (30 09:34 +0200)
tree403620ea49c6b5c2b0a5aac0fbc0c4da02f34121
parent902146183b216a89e51d57d11c17853e20101caa
Don't start with dirty page logging

kvm_register_userspace_phys_mem had a bug that marked the memory that it
allocated with the dirty tracking flag, so it wasted some cpu power on
tracking dirty bits on pages that didnot need it.

Noticed by Uri Lublin.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu-kvm.c