]> git.proxmox.com Git - qemu.git/commit
vhost: readd assert statement
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 1 Apr 2012 08:39:43 +0000 (11:39 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Apr 2012 10:19:32 +0000 (13:19 +0300)
commitfbbaf9ae88286f18b2ab32fb4174ebdbdc1d5919
tree7ec7b5b2c887664368b932469e8f030983042cc0
parente314672a8a95f5dc98534f0682fce50fb83dbc5c
vhost: readd assert statement

It's clear from the surrounding code that
start < end so it's enough to assert end < log_size.
However, it's better to make this explicit in case
we refactor the code again.

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