Files
xen/tools/libxc/xc_sr_common_x86.h
T
Andrew Cooper a270d09bc0 tools/libxc: x86 common code
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>
2015-05-05 14:30:46 +01:00

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:
*/