mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
block: remove support for using "file" driver with block/char devices
The 'host_device' and 'host_cdrom' drivers must be used instead. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
e67d8e2928
commit
8d17adf34f
4 changed files with 18 additions and 23 deletions
|
@ -3,23 +3,23 @@ QA output created by 226
|
|||
=== Testing with driver:file ===
|
||||
|
||||
== Testing RO ==
|
||||
qemu-io: can't open: A regular file was expected by the 'file' driver, but something else was given
|
||||
qemu-io: warning: Opening a character device as a file using the 'file' driver is deprecated
|
||||
qemu-io: can't open: 'file' driver requires 'TEST_DIR/t.IMGFMT' to be a regular file
|
||||
qemu-io: can't open: 'file' driver requires '/dev/null' to be a regular file
|
||||
== Testing RW ==
|
||||
qemu-io: can't open: Could not open 'TEST_DIR/t.IMGFMT': Is a directory
|
||||
qemu-io: warning: Opening a character device as a file using the 'file' driver is deprecated
|
||||
qemu-io: can't open: 'file' driver requires '/dev/null' to be a regular file
|
||||
|
||||
=== Testing with driver:host_device ===
|
||||
|
||||
== Testing RO ==
|
||||
qemu-io: can't open: 'host_device' driver expects either a character or block device
|
||||
qemu-io: can't open: 'host_device' driver requires 'TEST_DIR/t.IMGFMT' to be either a character or block device
|
||||
== Testing RW ==
|
||||
qemu-io: can't open: Could not open 'TEST_DIR/t.IMGFMT': Is a directory
|
||||
|
||||
=== Testing with driver:host_cdrom ===
|
||||
|
||||
== Testing RO ==
|
||||
qemu-io: can't open: 'host_cdrom' driver expects either a character or block device
|
||||
qemu-io: can't open: 'host_cdrom' driver requires 'TEST_DIR/t.IMGFMT' to be either a character or block device
|
||||
== Testing RW ==
|
||||
qemu-io: can't open: Could not open 'TEST_DIR/t.IMGFMT': Is a directory
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue