27#ifndef __XEN_PUBLIC_SYSCTL_H__
28#define __XEN_PUBLIC_SYSCTL_H__
54#define LIVEPATCH_PAYLOAD_VERSION 1
61#define XEN_LIVEPATCH_NAME_SIZE 128
85#define XEN_SYSCTL_LIVEPATCH_UPLOAD 0
101#define XEN_SYSCTL_LIVEPATCH_GET 1
104#define LIVEPATCH_STATE_CHECKED 1
105#define LIVEPATCH_STATE_APPLIED 2
138#define XEN_SYSCTL_LIVEPATCH_LIST 2
164#define XEN_SYSCTL_LIVEPATCH_ACTION 3
167#define LIVEPATCH_ACTION_UNLOAD 1
168#define LIVEPATCH_ACTION_REVERT 2
169#define LIVEPATCH_ACTION_APPLY 3
170#define LIVEPATCH_ACTION_REPLACE 4
192#define XEN_SYSCTL_livepatch_op 27
xen_livepatch_name_t name
xen_livepatch_status_t status
xen_livepatch_name_t name
xen_sysctl_livepatch_get_t get
union xen_sysctl_livepatch_op::@42 u
xen_sysctl_livepatch_action_t action
xen_sysctl_livepatch_upload_t upload
xen_sysctl_livepatch_list_t list
xen_livepatch_name_t name
guest_handle_64_t payload
struct xen_sysctl_livepatch_op livepatch
uint32_t interface_version