On Sun, Dec 13, 2015 at 8:39 AM, Imre Vadasz <[email protected]> wrote: > > commit f9d3f193aa805829d2b1e3253c9a45af91a9d276 > Author: Imre Vadasz <[email protected]> > Date: Sun Dec 13 01:24:23 2015 +0100 > > virtio_blk: Use contigmalloc/contigfree for vtblk_request allocations. > > This should fix the "panic: header spanned multiple segments: 2" panic > occuring for some users when running in qemu. > > Reported-By: Jim B. > > Summary of changes: > sys/dev/virtual/virtio/block/virtio_blk.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9d3f193aa805829d2b1e3253c9a45af91a9d276
According to the vtblk_request it should be 16 bytes aligned, so you probably want to use 16 as the 'alignment' for contigmalloc() Thanks, sephe -- Tomorrow Will Never Die
