summaryrefslogtreecommitdiff
path: root/tests/io-channel-helpers.h
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 /tests/io-channel-helpers.h
parent61f90e0461984438ddd5064d1c03133f561dc848 (diff)
downloadqemu-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 'tests/io-channel-helpers.h')
0 files changed, 0 insertions, 0 deletions