blob: 6ec37ab13d4ba28c43b5083a9aff2952f1606d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#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
#define KEY_OPEN_HOST_BIGFILE 11
#define KEY_HOST_BYTESTREAM 12
#define KEY_HOST_CSUM 13
#define KEY_CHECK_SYSFS 14
#define KEY_CHECK_UDEV 15
#define KEY_OPEN_GUEST_BIGFILE 16
#define KEY_GUEST_BYTESTREAM 17
#define KEY_GUEST_CSUM 18
#define HOST_BIG_FILE "/tmp/amit/host-big-file"
#define GUEST_BIG_FILE "/tmp/amit/guest-big-file"
struct guest_packet {
unsigned int key;
int value;
};
|