xref: /kvmtool/include/kvm/kvm-ipc.h (revision a9aae6c580f1752b51f25f4c5ed2f768abc40f78)
1 #ifndef KVM__IPC_H_
2 #define KVM__IPC_H_
3 
4 #include <linux/types.h>
5 
6 enum {
7 	KVM_IPC_BALLOON	= 1,
8 	KVM_IPC_DEBUG	= 2,
9 	KVM_IPC_STAT	= 3,
10 	KVM_IPC_PAUSE	= 4,
11 	KVM_IPC_RESUME	= 5,
12 	KVM_IPC_STOP	= 6,
13 	KVM_IPC_PID	= 7,
14 };
15 
16 int kvm_ipc__register_handler(u32 type, void (*cb)(int fd, u32 type, u32 len, u8 *msg));
17 int kvm_ipc__start(int sock);
18 int kvm_ipc__stop(void);
19 
20 #endif
21