25 lines
467 B
C
25 lines
467 B
C
|
/*
|
||
|
* Virtio 9p Proxy callback
|
||
|
*
|
||
|
* Copyright IBM, Corp. 2011
|
||
|
*
|
||
|
* Authors:
|
||
|
* M. Mohan Kumar <mohan@in.ibm.com>
|
||
|
*
|
||
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
||
|
* the COPYING file in the top-level directory.
|
||
|
*/
|
||
|
#ifndef _QEMU_VIRTIO_9P_PROXY_H
|
||
|
#define _QEMU_VIRTIO_9P_PROXY_H
|
||
|
|
||
|
#define PROXY_MAX_IO_SZ (64 * 1024)
|
||
|
|
||
|
typedef struct {
|
||
|
uint32_t type;
|
||
|
uint32_t size;
|
||
|
} ProxyHeader;
|
||
|
|
||
|
#define PROXY_HDR_SZ (sizeof(ProxyHeader))
|
||
|
|
||
|
#endif
|