mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qtests: Specify image format explicitly
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1416497234-29880-5-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
90c9b1671e
commit
b8e665e4d8
12 changed files with 21 additions and 18 deletions
|
@ -342,8 +342,9 @@ static void test_i440fx_firmware(FirmwareTestFixture *fixture,
|
|||
g_assert(fw_pathname != NULL);
|
||||
|
||||
/* Better hope the user didn't put metacharacters in TMPDIR and co. */
|
||||
cmdline = g_strdup_printf("-S %s %s",
|
||||
fixture->is_bios ? "-bios" : "-pflash",
|
||||
cmdline = g_strdup_printf("-S %s%s", fixture->is_bios
|
||||
? "-bios "
|
||||
: "-drive if=pflash,format=raw,file=",
|
||||
fw_pathname);
|
||||
g_test_message("qemu cmdline: %s", cmdline);
|
||||
qtest_start(cmdline);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue