• B
    qemu-iotests: disable default qemu devices for cross-platform compatibility · 2711fd33
    Bo Tu 提交于
    This patch fixes an io test suite issue that was introduced with the
    commit c88930a6 'qemu-char: Permit only
    a single "stdio" character device'. The option supresses the creation of
    default devices such as the floopy and cdrom. Output files for test case
    067, 071, 081 and 087 need to be updated to accommodate this change.
    Use virtio-blk instead of virtio-blk-pci as the device driver for test
    case 067. For virtio-blk-pci is the same with virtio-blk as device
    driver but other platform such as s390 may not recognize the virtio-blk-pci.
    
    The default devices differ across machines. As the qemu output often
    contains these devices (or events for them, like opening a CD tray on
    reset), the reference output currently is rather machine-specific.
    
    All existing qemu tests explicitly configure the devices they're working
    with, so just pass -nodefaults to qemu by default to disable the default
    devices. Update the reference outputs accordingly.
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    Reviewed-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
    Reviewed-by: NSascha Silbe <silbe@linux.vnet.ibm.com>
    Signed-off-by: NXiao Guang Chen <chenxg@linux.vnet.ibm.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    2711fd33
common 10.4 KB