« Previous | Next » 

Revision cb4b4fde

IDcb4b4fde82b064472c13fb9d983ca36a70e560aa

Added by Michael S. Tsirkin over 12 years ago

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 <>
Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences