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
|
@ -385,7 +385,7 @@ static void test_bmdma_no_busmaster(void)
|
|||
static void test_bmdma_setup(void)
|
||||
{
|
||||
ide_test_start(
|
||||
"-drive file=%s,if=ide,serial=%s,cache=writeback "
|
||||
"-drive file=%s,if=ide,serial=%s,cache=writeback,format=raw "
|
||||
"-global ide-hd.ver=%s",
|
||||
tmp_path, "testdisk", "version");
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ static void test_identify(void)
|
|||
int ret;
|
||||
|
||||
ide_test_start(
|
||||
"-drive file=%s,if=ide,serial=%s,cache=writeback "
|
||||
"-drive file=%s,if=ide,serial=%s,cache=writeback,format=raw "
|
||||
"-global ide-hd.ver=%s",
|
||||
tmp_path, "testdisk", "version");
|
||||
|
||||
|
@ -458,7 +458,7 @@ static void test_flush(void)
|
|||
uint8_t data;
|
||||
|
||||
ide_test_start(
|
||||
"-drive file=blkdebug::%s,if=ide,cache=writeback",
|
||||
"-drive file=blkdebug::%s,if=ide,cache=writeback,format=raw",
|
||||
tmp_path);
|
||||
|
||||
/* Delay the completion of the flush request until we explicitly do it */
|
||||
|
@ -526,7 +526,8 @@ static void test_retry_flush(void)
|
|||
|
||||
ide_test_start(
|
||||
"-vnc none "
|
||||
"-drive file=blkdebug:%s:%s,if=ide,cache=writeback,rerror=stop,werror=stop",
|
||||
"-drive file=blkdebug:%s:%s,if=ide,cache=writeback,format=raw,"
|
||||
"rerror=stop,werror=stop",
|
||||
debug_path, tmp_path);
|
||||
|
||||
/* FLUSH CACHE command on device 0*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue