Hi all, this small patch series provides a few fixes and clean-ups in preparation for the introduction of a 9pfs Xen transport.
Changes in v2: - constify virtio_9p_transport and V9fsTransport - assert !s->transport. - code style - add a call to qemu_iovec_destroy - fix commit description of patch #3 - introduce init_out/in_iov_from_pdu Stefano Stabellini (4): 9pfs: move pdus to V9fsState 9pfs: introduce transport specific callbacks 9pfs: use v9fs_init_qiov_from_pdu instead of v9fs_pack 9pfs: introduce init_out/in_iov_from_pdu hw/9pfs/9p.c | 76 ++++++++++++++++++++++++---------------------- hw/9pfs/9p.h | 22 ++++++++++++++ hw/9pfs/virtio-9p-device.c | 46 +++++++++++++++++++--------- hw/9pfs/virtio-9p.h | 10 ------ 4 files changed, 94 insertions(+), 60 deletions(-)