1 /*
2  * SPDX-License-Identifier: MIT
3  */
4 
5 #ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
6 #define __XEN_PUBLIC_HVM_HVM_OP_H__
7 
8 #include "../xen.h"
9 
10 /* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
11 #define HVMOP_set_param           0
12 #define HVMOP_get_param           1
13 struct xen_hvm_param {
14     domid_t  domid;    /* IN */
15     UINT32 index;    /* IN */
16     UINT64 value;    /* IN/OUT */
17 };
18 typedef struct xen_hvm_param xen_hvm_param_t;
19 DEFINE_XEN_GUEST_HANDLE(xen_hvm_param_t);
20 
21 #endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */
22