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(-)


Reply via email to