OSDN Git Service

virtio: add vhost-user-fs-pci device
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 30 Sep 2019 10:51:35 +0000 (11:51 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 5 Oct 2019 21:43:55 +0000 (17:43 -0400)
commit9d59bed1da5e5815987879346cf708344060ea63
tree438b49a780217a1e8cc58e36fb0ccf4f0997c4b0
parent98fc1ada4cf70af0f1df1a2d7183cf786fc7da05
virtio: add vhost-user-fs-pci device

Add the PCI version of vhost-user-fs.

Launch QEMU like this:

  qemu -chardev socket,path=/tmp/vhost-fs.sock,id=chr0
       -device vhost-user-fs-pci,tag=myfs,chardev=chr0

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190930105135.27244-4-dgilbert@redhat.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/Makefile.objs
hw/virtio/vhost-user-fs-pci.c [new file with mode: 0644]