]> git.proxmox.com Git - qemu.git/commit - kvm-all.c
Fake dirty loggin when it's not there
authorAlexander Graf <agraf@suse.de>
Fri, 17 Jul 2009 11:51:48 +0000 (13:51 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 15:58:46 +0000 (10:58 -0500)
commitbd8367761236cd5c435598aeb2f1b8240c09b059
tree3f3ef7aa4af62496ce5fdcaac21eaf736f919566
parent16415335bea79c0226f92aec82197ab07b55ba65
Fake dirty loggin when it's not there

Some KVM platforms don't support dirty logging yet, like IA64 and PPC,
so in order to still have screen updates on those, we need to fake it.

This patch just tells the getter function for dirty bitmaps, that all
pages within a slot are dirty when the slot has dirty logging enabled.

That way we can implement dirty logging on those platforms sometime when
it drags down performance, but share the rest of the code with dirty
logging capable platforms.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm-all.c