diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-16 16:24:28 -0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-11-05 16:35:06 +0100 |
commit | 58b818d5bdcb89e89e60b7b1f68d808882186ccc (patch) | |
tree | 4cc20a1f1550dee0e1d6992b2ff864a728bcb5f2 /tests/endianness-test.c | |
parent | ee1fde71a343b9311b39aa3f8d56ba0330abe449 (diff) | |
download | qemu-58b818d5bdcb89e89e60b7b1f68d808882186ccc.zip qemu-58b818d5bdcb89e89e60b7b1f68d808882186ccc.tar.gz qemu-58b818d5bdcb89e89e60b7b1f68d808882186ccc.tar.bz2 |
image-fuzzer: Encode file name and file format to bytes
Callers of create_image() will pass strings as arguments, but the
Image class will expect bytes objects to be provided. Encode
them inside create_image().
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191016192430.25098-9-ehabkost@redhat.com
Message-Id: <20191016192430.25098-9-ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/endianness-test.c')
0 files changed, 0 insertions, 0 deletions