[Qemu-devel] [PATCH 0/2] fsdev: improve error handling of backend operations

Greg Kurz posted 2 patches 7 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/151360656934.21833.11316709584569537205.stgit@bahia.lan
Test checkpatch passed
Test docker passed
Test ppc passed
Test s390x passed
fsdev/file-op-9p.h  |    4 ++--
fsdev/qemu-fsdev.c  |    4 +++-
hw/9pfs/9p-handle.c |    5 +++--
hw/9pfs/9p-local.c  |   37 ++++++++++++++++++++++---------------
hw/9pfs/9p-proxy.c  |   31 +++++++++++++++++++++----------
hw/9pfs/9p-synth.c  |    2 +-
hw/9pfs/9p.c        |    6 +++---
7 files changed, 55 insertions(+), 34 deletions(-)
[Qemu-devel] [PATCH 0/2] fsdev: improve error handling of backend operations
Posted by Greg Kurz 7 years, 10 months ago
This series simply converts the parse_opts and init fsdev operations to
report errors using the QEMU Error API. Some error messages get reworded
on the way.

Note that we only care for the local and proxy backends. The synth backend
doesn't generate errors and the handle backend shall probably be deprecated
soon.

--
Greg

---

Greg Kurz (2):
      fsdev: improve error handling of backend opts parsing
      fsdev: improve error handling of backend init


 fsdev/file-op-9p.h  |    4 ++--
 fsdev/qemu-fsdev.c  |    4 +++-
 hw/9pfs/9p-handle.c |    5 +++--
 hw/9pfs/9p-local.c  |   37 ++++++++++++++++++++++---------------
 hw/9pfs/9p-proxy.c  |   31 +++++++++++++++++++++----------
 hw/9pfs/9p-synth.c  |    2 +-
 hw/9pfs/9p.c        |    6 +++---
 7 files changed, 55 insertions(+), 34 deletions(-)