x86 VMCS guest interruptibility state save/load
Hello all,
When I read QEMU and KVM codes on saving/loading snapshot, I don't find the interruptibility state in x86 VMCS structure is saved and loaded in QEMU though KVM supports getting/setting this field from/into VMCS. (No "env.interrupt.shadow" in QEMU vmstate_x86_cpu.fields.) I understand it may cause guest-state error if this field is not restored but other registers or VMCS fields are restored. Do you think it's a valid issue?
Thanks,
Henry
A message that is not in the archive (sent off-list or not yet received): [email protected]
In summary, sounds all non-register guest states in VMCS structure are not saved in snapshot. I don't understand why they don't need to save in snapshot and load from snapshot to construct VMCS. Does anyone have any idea?
Thanks,
Henry
Quoted 6 lines · Hang Yuan
Hello all,
When I read QEMU and KVM codes on saving/loading snapshot, I don't find the interruptibility state in x86 VMCS structure is saved and loaded in QEMU though KVM supports getting/setting this field from/into VMCS. (No "env.interrupt.shadow" in QEMU vmstate_x86_cpu.fields.) I understand it may cause guest-state error if this field is not restored but other registers or VMCS fields are restored. Do you think it's a valid issue?
Thanks,
Henry