[Qemu-devel] [PATCH v6 0/2] file-posix: specify expected filetypes

John Snow posted 2 patches 5 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180710170041.875-1-jsnow@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
block/file-posix.c         | 39 +++++++++++++++++++++------
qemu-doc.texi              |  6 +++++
tests/qemu-iotests/226     | 66 ++++++++++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/226.out | 26 ++++++++++++++++++
tests/qemu-iotests/group   |  1 +
5 files changed, 130 insertions(+), 8 deletions(-)
create mode 100755 tests/qemu-iotests/226
create mode 100644 tests/qemu-iotests/226.out
[Qemu-devel] [PATCH v6 0/2] file-posix: specify expected filetypes
Posted by John Snow 5 years, 9 months ago
Tighten which types of files we'll allow you to specify for the various
file drivers (file, host_device, host_cdrom).

v6:
 - Rebased for 3.0
 - Actually set ret (Kevin)
 - Added test (Thanks, Kevin!)
 - Modified error messages somewhat to include driver name

John Snow (2):
  file-posix: specify expected filetypes
  iotests: add test 226 for file driver types

 block/file-posix.c         | 39 +++++++++++++++++++++------
 qemu-doc.texi              |  6 +++++
 tests/qemu-iotests/226     | 66 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/226.out | 26 ++++++++++++++++++
 tests/qemu-iotests/group   |  1 +
 5 files changed, 130 insertions(+), 8 deletions(-)
 create mode 100755 tests/qemu-iotests/226
 create mode 100644 tests/qemu-iotests/226.out

-- 
2.14.4


Re: [Qemu-devel] [PATCH v6 0/2] file-posix: specify expected filetypes
Posted by Kevin Wolf 5 years, 9 months ago
Am 10.07.2018 um 19:00 hat John Snow geschrieben:
> Tighten which types of files we'll allow you to specify for the various
> file drivers (file, host_device, host_cdrom).

Thanks, applied to the block branch.

Kevin