hyperv.h revision 82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f
1ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/****************************************************************************
2ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ****************************************************************************
3ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***
4ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   This header was automatically generated from a Linux kernel header
5ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   of the same name, to make information necessary for userspace to
6ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   call into the kernel available to libc.  It contains only constants,
7ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   structures, and macros generated from the original header, and thus,
8ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   contains no copyrightable information.
9ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***
10ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   To edit the content of this header, modify the corresponding
11ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
12ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
13ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***
14ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   Any manual change here will be lost the next time this script will
15ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***   be run. You've been warned!
16ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ***
17ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ****************************************************************************
18ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris ****************************************************************************/
19ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#ifndef _UAPI_HYPERV_H
20ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define _UAPI_HYPERV_H
21ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#include <linux/uuid.h>
22ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define UTIL_FW_MINOR 0
23ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define UTIL_WS2K8_FW_MAJOR 1
25ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define UTIL_WS2K8_FW_VERSION (UTIL_WS2K8_FW_MAJOR << 16 | UTIL_FW_MINOR)
26ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define UTIL_FW_MAJOR 3
27ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define UTIL_FW_VERSION (UTIL_FW_MAJOR << 16 | UTIL_FW_MINOR)
28ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define VSS_OP_REGISTER 128
30ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisenum hv_vss_op {
31ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_CREATE = 0,
32ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_DELETE,
33ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_HOT_BACKUP,
35ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_GET_DM_INFO,
36ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_BU_COMPLETE,
37ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_FREEZE,
38ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_THAW,
40ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_AUTO_RECOVER,
41ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris VSS_OP_COUNT
42ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
43ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_vss_hdr {
45ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 operation;
46ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 reserved[7];
47ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
48ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define VSS_HBU_NO_AUTO_RECOVERY 0x00000005
50ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_vss_check_feature {
51ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 flags;
52ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
53ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_vss_check_dm_info {
55ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 flags;
56ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
57ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_vss_msg {
58ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris union {
60ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_vss_hdr vss_hdr;
61ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris int error;
62ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris };
63ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris union {
65ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_vss_check_feature vss_cf;
66ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_vss_check_dm_info dm_info;
67ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris };
68ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
70ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define FCOPY_VERSION_0 0
71ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define FCOPY_CURRENT_VERSION FCOPY_VERSION_0
72ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define W_MAX_PATH 260
73ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisenum hv_fcopy_op {
75ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris START_FILE_COPY = 0,
76ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris WRITE_TO_FILE,
77ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris COMPLETE_FCOPY,
78ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris CANCEL_FCOPY,
80ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
81ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_fcopy_hdr {
82ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 operation;
83ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris uuid_le service_id0;
85ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris uuid_le service_id1;
86ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
87ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define OVER_WRITE 0x1
88ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define CREATE_PATH 0x2
90ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_start_fcopy {
91ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_fcopy_hdr hdr;
92ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 file_name[W_MAX_PATH];
93ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 path_name[W_MAX_PATH];
95ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 copy_flags;
96ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u64 file_size;
97ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
98ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define DATA_FRAGMENT (6 * 1024)
100ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_do_fcopy {
101ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_fcopy_hdr hdr;
10282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u32 pad;
103ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
10482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u64 offset;
105ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 size;
106ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 data[DATA_FRAGMENT];
10782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris} __attribute__((packed));
108ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
10982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define HV_KVP_EXCHANGE_MAX_VALUE_SIZE (2048)
110ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_KVP_EXCHANGE_MAX_KEY_SIZE (512)
111ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define REG_SZ 1
112ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define REG_U32 4
113ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
11482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define REG_U64 8
115ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define KVP_OP_REGISTER 4
116ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define KVP_OP_REGISTER1 100
117ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisenum hv_kvp_exchg_op {
118ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
11982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris KVP_OP_GET = 0,
120ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_OP_SET,
121ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_OP_DELETE,
122ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_OP_ENUMERATE,
123ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
12482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris KVP_OP_GET_IP_INFO,
125ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_OP_SET_IP_INFO,
126ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_OP_COUNT
127ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
128ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
12982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum hv_kvp_exchg_pool {
130ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_POOL_EXTERNAL = 0,
131ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_POOL_GUEST,
132ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_POOL_AUTO,
133ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
13482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris KVP_POOL_AUTO_EXTERNAL,
135ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_POOL_AUTO_INTERNAL,
136ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris KVP_POOL_COUNT
137ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
138ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
13982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define HV_S_OK 0x00000000
140ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_E_FAIL 0x80004005
141ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_S_CONT 0x80070103
142ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_ERROR_NOT_SUPPORTED 0x80070032
143ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
14482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define HV_ERROR_MACHINE_LOCKED 0x800704F7
145ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F
146ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_INVALIDARG 0x80070057
147ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define HV_GUID_NOTFOUND 0x80041002
148ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
14982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define HV_ERROR_ALREADY_EXISTS 0x80070050
150ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define ADDR_FAMILY_NONE 0x00
151ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define ADDR_FAMILY_IPV4 0x01
152ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define ADDR_FAMILY_IPV6 0x02
153ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
15482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define MAX_ADAPTER_ID_SIZE 128
155ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define MAX_IP_ADDR_SIZE 1024
156ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris#define MAX_GATEWAY_SIZE 512
157ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_ipaddr_value {
158ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
15982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u16 adapter_id[MAX_ADAPTER_ID_SIZE];
160ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 addr_family;
161ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 dhcp_enabled;
162ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 ip_addr[MAX_IP_ADDR_SIZE];
163ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
16482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u16 sub_net[MAX_IP_ADDR_SIZE];
165ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 gate_way[MAX_GATEWAY_SIZE];
166ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 dns_addr[MAX_IP_ADDR_SIZE];
167ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
168ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
16982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct hv_kvp_hdr {
170ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 operation;
171ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 pool;
172ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u16 pad;
173ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
17482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris} __attribute__((packed));
175ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_exchg_msg_value {
176ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 value_type;
177ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 key_size;
178ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
17982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u32 value_size;
180ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 key[HV_KVP_EXCHANGE_MAX_KEY_SIZE];
181ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris union {
182ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 value[HV_KVP_EXCHANGE_MAX_VALUE_SIZE];
183ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
18482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u32 value_u32;
185ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u64 value_u64;
186ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris };
187ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
188ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
18982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct hv_kvp_msg_enumerate {
190ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 index;
191ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_exchg_msg_value data;
192ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
193ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
19482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct hv_kvp_msg_get {
195ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_exchg_msg_value data;
196ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
197ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_msg_set {
198ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
19982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris struct hv_kvp_exchg_msg_value data;
200ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
201ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_msg_delete {
202ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u32 key_size;
203ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
20482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u8 key[HV_KVP_EXCHANGE_MAX_KEY_SIZE];
205ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris};
206ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_register {
207ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 version[HV_KVP_EXCHANGE_MAX_KEY_SIZE];
208ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
20982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
210ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_msg {
211ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris union {
212ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_hdr kvp_hdr;
213ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
21482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris int error;
215ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris };
216ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris union {
217ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_msg_get kvp_get;
218ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
21982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris struct hv_kvp_msg_set kvp_set;
220ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_msg_delete kvp_delete;
221ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_msg_enumerate kvp_enum_data;
222ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_ipaddr_value kvp_ip_val;
223ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
22482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris struct hv_kvp_register kvp_register;
225ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris } body;
226ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
227ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferrisstruct hv_kvp_ip_msg {
228ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
22982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u8 operation;
230ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris __u8 pool;
231ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris struct hv_kvp_ipaddr_value kvp_ip_val;
232ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris} __attribute__((packed));
233ba8d4f460b51161eb82cf1006cb34a3cc1389f47Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
23482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
235