]> www.infradead.org Git - users/dwmw2/qemu.git/commit
vhost: fix dirty page handling
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Mar 2011 10:09:09 +0000 (12:09 +0200)
committerJustin M. Forbes <jforbes@redhat.com>
Tue, 3 May 2011 13:28:58 +0000 (08:28 -0500)
commitfc5c4a7a63d80af7f4862e4965dd4ffcaedbf69a
treeeac8d6eb30bbc5eb861722b542dc3d9456d0f6ff
parent22da30fc281c73e352aabe88af5e7714bf7d5cc0
vhost: fix dirty page handling

vhost was passing a physical address to cpu_physical_memory_set_dirty,
which is wrong: we need to translate to ram address first.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Note: this lead to crashes during migration, so the patch
is needed on the stable branch too.
hw/vhost.c