From 9f10751365b26b13b8a9b67e0e90536ae3d282df Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 29 Apr 2010 17:44:44 +0530 Subject: virtio-9p: Add a virtio 9p device to qemu This patch doesn't implement the 9p protocol handling code. It adds a simple device which dump the protocol data. [jvrao@linux.vnet.ibm.com: Little-Endian to host format conversion] [aneesh.kumar@linux.vnet.ibm.com: Multiple-mounts support] Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V Signed-off-by: Anthony Liguori --- hw/virtio-9p-local.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hw/virtio-9p-local.c (limited to 'hw/virtio-9p-local.c') diff --git a/hw/virtio-9p-local.c b/hw/virtio-9p-local.c new file mode 100644 index 0000000000..379af60eed --- /dev/null +++ b/hw/virtio-9p-local.c @@ -0,0 +1,17 @@ +/* + * Virtio 9p Posix callback + * + * Copyright IBM, Corp. 2010 + * + * Authors: + * Anthony Liguori + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + * + */ +#include "virtio.h" +#include "virtio-9p.h" + +FileOperations local_ops = { +}; -- cgit v1.2.3