summaryrefslogtreecommitdiffstats
path: root/virtserial.h
blob: 120df388f76875c8f11330b0e64612baa972e0f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define KEY_STATUS_OK	1
#define KEY_GUEST_ERR	2
#define KEY_OPEN	3
#define KEY_CLOSE	4
#define KEY_RESULT	5
#define KEY_READ	6
#define KEY_NONBLOCK	7
#define KEY_LENGTH	8
#define KEY_WRITE	9
#define KEY_POLL	10

struct guest_packet {
	unsigned int key;
	int value;
};