summary refs log tree commit diff stats
path: root/backends/hostmem.c
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2021-01-17 18:09:22 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-08 14:43:54 +0100
commit8630b43f115d9736cbe9782f453a300ac3ba5af5 (patch)
tree93265c442419f1750ea7e44d41fe1355df17b875 /backends/hostmem.c
parent61f90e0461984438ddd5064d1c03133f561dc848 (diff)
downloadfocaccia-qemu-8630b43f115d9736cbe9782f453a300ac3ba5af5.tar.gz
focaccia-qemu-8630b43f115d9736cbe9782f453a300ac3ba5af5.zip
fuzz: enable dynamic args for generic-fuzz configs
For some device configurations, it is useful to configure some
resources, and adjust QEMU arguments at runtime, prior to fuzzing. This
patch adds an "argfunc" to generic the generic_fuzz_config. When
specified, it is responsible for configuring the resources and returning
a string containing the corresponding QEMU arguments. This can be useful
for targets that rely on e.g.:
 * a temporary qcow2 image
 * a temporary directory
 * an unused TCP port used to bind the VNC server

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210117230924.449676-2-alxndr@bu.edu>
Diffstat (limited to 'backends/hostmem.c')
0 files changed, 0 insertions, 0 deletions