]> git.proxmox.com Git - mirror_qemu.git/commit - hw/vhost.c
vhost: fix dirty page handling
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Mar 2011 10:09:09 +0000 (12:09 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2011 16:34:23 +0000 (18:34 +0200)
commit7b67b18adf921c77aa8443f3b4cddab87908ee1e
tree6fb4d19ff11b54df14c902d4ac2690addf9bd072
parentfbe0c5591077814eead05217fc96f087b254a6a8
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