]> Git Repo - qemu.git/commit - hw/virtio/vhost.c
vhost: Allow adjoining regions
authorDr. David Alan Gilbert <[email protected]>
Fri, 23 Mar 2018 15:39:39 +0000 (15:39 +0000)
committerMichael S. Tsirkin <[email protected]>
Mon, 9 Apr 2018 14:35:46 +0000 (17:35 +0300)
commite7b94a84b6cb4a632c558ed24e8d6f4baa3f75eb
tree2db07a4e59fa1e4ff37788772aeae7a38b2e1608
parentea3e6f5a93f77fa068b7858b714057e4bbde67cb
vhost: Allow adjoining regions

My rework of section adding combines overlapping or adjoining regions,
but checks they're actually the same underlying RAM block.
Fix the case where two blocks adjoin but don't overlap; that new region
should get added (but not combined), but my previous patch was disallowing it.

Fixes: c1ece84e7c9
Reported-by: Alex Williamson <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Tested-by: Alex Williamson <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/vhost.c
This page took 0.029515 seconds and 4 git commands to generate.