]> git.ipfire.org Git - thirdparty/qemu.git/commit
fsdev: Add return value to fsdev_throttle_parse_opts()
authorGreg Kurz <groug@kaod.org>
Thu, 10 Oct 2019 09:36:05 +0000 (11:36 +0200)
committerGreg Kurz <groug@kaod.org>
Thu, 10 Oct 2019 09:36:05 +0000 (11:36 +0200)
commitea52cdd443840448c198fec48e5a9ea5f40564f0
treed88cea8dd8a30f705f01e41492a403e37b2c7274
parentc0da0cb7614db9a6ba6e8f00cea4c86844bb3e22
fsdev: Add return value to fsdev_throttle_parse_opts()

It is more convenient to use the return value of the function to notify
errors, rather than to be tied up setting up the &local_err boilerplate.

Signed-off-by: Greg Kurz <groug@kaod.org>
fsdev/qemu-fsdev-throttle.c
fsdev/qemu-fsdev-throttle.h
hw/9pfs/9p-local.c