diff options
author | Alexander Bulekov <alxndr@bu.edu> | 2021-03-15 10:05:11 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-16 14:30:30 -0400 |
commit | 25d309fb0d6c07e49c3d9250cdbacc16941d988e (patch) | |
tree | 48d36634c66bd2a1ae63de07156c25a726b6f558 /softmmu | |
parent | 230376d285b38f5b83882ebdd2e0d0570431dd09 (diff) | |
download | qemu-25d309fb0d6c07e49c3d9250cdbacc16941d988e.zip qemu-25d309fb0d6c07e49c3d9250cdbacc16941d988e.tar.gz qemu-25d309fb0d6c07e49c3d9250cdbacc16941d988e.tar.bz2 |
fuzz: configure a sparse-mem device, by default
The generic-fuzzer often provides randomized DMA addresses to
virtual-devices. For a 64-bit address-space, the chance of these
randomized addresses coinciding with RAM regions, is fairly small. Even
though the fuzzer's instrumentation eventually finds valid addresses,
this can take some-time, and slows-down fuzzing progress (especially,
when multiple DMA buffers are involved). To work around this, create
"fake" sparse-memory that spans all of the 64-bit address-space. Adjust
the DMA call-back to populate this sparse memory, correspondingly
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu')
0 files changed, 0 insertions, 0 deletions