Skip to content
  • John Snow's avatar
    qtest/bios-tables: Correct Q35 command line · 6b9e03a4
    John Snow authored
    
    
    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: default avatarJohn Snow <jsnow@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Message-id: 1412187569-23452-6-git-send-email-jsnow@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    6b9e03a4