summaryrefslogtreecommitdiffstats
path: root/hw/vhost.c
diff options
context:
space:
mode:
authorAnthony Liguori2011-08-05 00:15:22 +0200
committerAnthony Liguori2011-08-05 00:15:22 +0200
commit81e34a2401f7ffd519bb7f093e833cb48734169f (patch)
tree146a7b6eebbee1367453fde501d4462ac6d9f8b4 /hw/vhost.c
parentMerge remote-tracking branch 'alon/pull-libcacard.data' into staging (diff)
parentvhost: remove an incorrect assert (diff)
downloadqemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.gz
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.tar.xz
qemu-81e34a2401f7ffd519bb7f093e833cb48734169f.zip
Merge remote-tracking branch 'mst/for_anthony' into staging
Diffstat (limited to 'hw/vhost.c')
-rw-r--r--hw/vhost.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/vhost.c b/hw/vhost.c
index c3d88214fe..19e72555c4 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -120,7 +120,6 @@ static void vhost_dev_unassign_memory(struct vhost_dev *dev,
if (start_addr <= reg->guest_phys_addr && memlast >= reglast) {
--dev->mem->nregions;
--to;
- assert(to >= 0);
++overlap_middle;
continue;
}