mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
kvm: Enable XSAVE live migration support
Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
51e49430c0
commit
f1665b21f1
5 changed files with 186 additions and 3 deletions
|
@ -718,6 +718,11 @@ typedef struct CPUX86State {
|
|||
uint16_t fpus_vmstate;
|
||||
uint16_t fptag_vmstate;
|
||||
uint16_t fpregs_format_vmstate;
|
||||
|
||||
uint64_t xstate_bv;
|
||||
XMMReg ymmh_regs[CPU_NB_REGS];
|
||||
|
||||
uint64_t xcr0;
|
||||
} CPUX86State;
|
||||
|
||||
CPUX86State *cpu_x86_init(const char *cpu_model);
|
||||
|
@ -899,7 +904,7 @@ uint64_t cpu_get_tsc(CPUX86State *env);
|
|||
#define cpu_list_id x86_cpu_list
|
||||
#define cpudef_setup x86_cpudef_setup
|
||||
|
||||
#define CPU_SAVE_VERSION 11
|
||||
#define CPU_SAVE_VERSION 12
|
||||
|
||||
/* MMU modes definitions */
|
||||
#define MMU_MODE0_SUFFIX _kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue