diff options
author | Juergen Gross <jgross@suse.com> | 2016-07-06 08:00:28 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2016-07-06 12:42:13 +0300 |
commit | 7ba8dba95cb227eb6c270b1aa77f942e45f5e47c (patch) | |
tree | 9d906d111b4db30452a0ea0cac43ea500d950d47 /include/xen/interface/vcpu.h | |
parent | 1ad6344acfbf19288573b4a5fa0b07cbb5af27d7 (diff) | |
download | linux-7ba8dba95cb227eb6c270b1aa77f942e45f5e47c.tar.xz |
xen: update xen headers
Update some Xen headers to be able to use new functionality.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'include/xen/interface/vcpu.h')
-rw-r--r-- | include/xen/interface/vcpu.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/include/xen/interface/vcpu.h b/include/xen/interface/vcpu.h index b05288ce3991..98188c87f5c1 100644 --- a/include/xen/interface/vcpu.h +++ b/include/xen/interface/vcpu.h @@ -75,15 +75,21 @@ */ #define VCPUOP_get_runstate_info 4 struct vcpu_runstate_info { - /* VCPU's current state (RUNSTATE_*). */ - int state; - /* When was current state entered (system time, ns)? */ - uint64_t state_entry_time; - /* - * Time spent in each RUNSTATE_* (ns). The sum of these times is - * guaranteed not to drift from system time. - */ - uint64_t time[4]; + /* VCPU's current state (RUNSTATE_*). */ + int state; + /* When was current state entered (system time, ns)? */ + uint64_t state_entry_time; + /* + * Update indicator set in state_entry_time: + * When activated via VMASST_TYPE_runstate_update_flag, set during + * updates in guest memory mapped copy of vcpu_runstate_info. + */ +#define XEN_RUNSTATE_UPDATE (1ULL << 63) + /* + * Time spent in each RUNSTATE_* (ns). The sum of these times is + * guaranteed not to drift from system time. + */ + uint64_t time[4]; }; DEFINE_GUEST_HANDLE_STRUCT(vcpu_runstate_info); |