Re: [Qemu-devel] [PATCH v3 0/3] RFC: 9pfs-proxy: simplify/cleanup

2015-03-09 Thread Michael Tokarev
Now when I reviewed the whole thing, I'd drop the error handling change too, and fold it into even bigger change. What I'm thinking is to refactor this code to look significantly different, namely: For the proxy code: o each filesystem method first call proxy_send_request(type, fmt, ...), and

[Qemu-devel] [PATCH v3 0/3] RFC: 9pfs-proxy: simplify/cleanup

2015-03-06 Thread Michael Tokarev
Try to make the code a bit less ugly. First by moving errno = -retval to a common place, and second by simplifying common place a lot. What's left is v9fs_receive_response(). V3: merge several small patches into larger ones, drop trivial stuff Michael Tokarev (3): 9pfs-proxy: simplify err