qtest/bios-tables: Correct Q35 command line
commit6b9e03a4e7598765a6cebb7618f2eeb22e928f6e
authorJohn Snow <jsnow@redhat.com>
Wed, 1 Oct 2014 18:19:28 +0000 (1 14:19 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 Oct 2014 09:30:33 +0000 (3 10:30 +0100)
treeaa7a77dbb2d490d9af8a81a2b6f8cd3e86e074f1
parentd8f94e1bb275ab6a14a15220fd6afd0d04324aeb
qtest/bios-tables: Correct Q35 command line

If the Q35 board types are to begin recognizing
and decoding syntactic sugar for drive/device
declarations, then workarounds found within
the qtests suite need to be adjusted to prevent
any test failures after the fix.

bios-tables-test improperly uses this cli:
-drive file=etc,id=hd -device ide-hd,drive=hd

Which will create a drive and device due to
the lack of specifying if=none. Then, it will
attempt to create a second device and fail.

This patch corrects this test to always use
the full, non-sugared -device/-drive syntax
for both PC and Q35.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1412187569-23452-6-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/bios-tables-test.c