summaryrefslogtreecommitdiffstats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2011-08-03 14:24:41 +0200
committerMichael S. Tsirkin2011-08-03 17:00:53 +0200
commitcb4b4fde82b064472c13fb9d983ca36a70e560aa (patch)
tree6209962580fb36edd2696fe8faa3df0314c5ef60 /hw/virtio.c
parentpcie_host: verify mmcfg address range (diff)
downloadqemu-cb4b4fde82b064472c13fb9d983ca36a70e560aa.tar.gz
qemu-cb4b4fde82b064472c13fb9d983ca36a70e560aa.tar.xz
qemu-cb4b4fde82b064472c13fb9d983ca36a70e560aa.zip
vhost: remove an incorrect assert
The 'to' can go negative when the first region gets removed (it gets incremented by to 0 immediately afterward), which makes the assertion fail. Nothing breaks if to < 0 here so just remove the assert. Tested-by: David Ahern <daahern@cisco.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio.c')
0 files changed, 0 insertions, 0 deletions