Re: u <-> k cross migration and IDT_Vectoring save/restore

Avi Kivity
2007-08-05T13:58:48Z

Dong, Eddie wrote:
> Avi:
> After one more thinking, I found something others.
> kvm_vcpu_ioctl_get_sregs/kvm_vcpu_ioctl_set_sregs doesn't save
> current injecting exception while Xen does. Which includes
> VM_ENTRY_INTR_INFO & VM_ENTRY_EXCEPTION_ERROR_CODE.
> Any special reason?
>

No special reason, never saw the need for it.

Do you see exits with this set? It's probably better to loop again
instead of saving it, because this is an implementation detail rather
than real state (e.g. state that qemu has as well).