9pfs: introduce transport specific callbacks
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 3 Jan 2017 16:28:44 +0000 (17:28 +0100)
committerGreg Kurz <groug@kaod.org>
Tue, 3 Jan 2017 16:28:44 +0000 (17:28 +0100)
commitea83441cc44143b5b68a400ae4292a3eef14a675
tree1c7cc17525478ee02fb6b468c5f21885b5d73832
parent583f21f8b9982d60c451e812af2d9dfe19d19d3f
9pfs: introduce transport specific callbacks

Don't call virtio functions from 9pfs generic code, use generic function
callbacks instead.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p.c
hw/9pfs/9p.h
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p.h