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