mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Save/restore records common to all x86 domain types (HVM, PV). This is only the TSC_INFO record. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
27 lines
512 B
C
27 lines
512 B
C
#ifndef __COMMON_X86__H
|
|
#define __COMMON_X86__H
|
|
|
|
#include "xc_sr_common.h"
|
|
|
|
/*
|
|
* Obtains a domains TSC information from Xen and writes a TSC_INFO record
|
|
* into the stream.
|
|
*/
|
|
int write_tsc_info(struct xc_sr_context *ctx);
|
|
|
|
/*
|
|
* Parses a TSC_INFO record and applies the result to the domain.
|
|
*/
|
|
int handle_tsc_info(struct xc_sr_context *ctx, struct xc_sr_record *rec);
|
|
|
|
#endif
|
|
/*
|
|
* Local variables:
|
|
* mode: C
|
|
* c-file-style: "BSD"
|
|
* c-basic-offset: 4
|
|
* tab-width: 4
|
|
* indent-tabs-mode: nil
|
|
* End:
|
|
*/
|