vhost: Fix address calculation in vhost_dev_sync_region()
commit0c600ce2a7a419c7247b2ac63327dea5daa3d5a2
authorJason Wang <jasowang@redhat.com>
Sat, 27 Nov 2010 14:05:07 +0000 (27 22:05 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Dec 2010 19:13:39 +0000 (2 21:13 +0200)
treeae3bd44abc04ff004c9c57245ac0d7d8b29a3df3
parent3d002df33eb034757d98e1ae529318f57df78f91
vhost: Fix address calculation in vhost_dev_sync_region()

We still need advance address even we find there's no dirty pages in
current chunk.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/vhost.c