Re: [PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-21 Thread Jan Beulich
On 21.03.2022 16:28, Tamas K Lengyel wrote: > On Mon, Mar 21, 2022 at 10:58 AM Jan Beulich wrote: >> On 21.03.2022 15:39, Tamas K Lengyel wrote: >>> On Mon, Mar 21, 2022 at 8:16 AM Jan Beulich wrote: On 17.03.2022 16:57, Tamas K Lengyel wrote: > @@ -166,6 +167,11 @@ struct hvm_hw_cpu {

Re: [PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-21 Thread Tamas K Lengyel
On Mon, Mar 21, 2022 at 10:58 AM Jan Beulich wrote: > > On 21.03.2022 15:39, Tamas K Lengyel wrote: > > On Mon, Mar 21, 2022 at 8:16 AM Jan Beulich wrote: > >> On 17.03.2022 16:57, Tamas K Lengyel wrote: > >>> @@ -166,6 +167,11 @@ struct hvm_hw_cpu { > >>> #define XEN_X86_FPU_INITIALISED

Re: [PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-21 Thread Jan Beulich
On 21.03.2022 15:39, Tamas K Lengyel wrote: > On Mon, Mar 21, 2022 at 8:16 AM Jan Beulich wrote: >> On 17.03.2022 16:57, Tamas K Lengyel wrote: >>> @@ -166,6 +167,11 @@ struct hvm_hw_cpu { >>> #define XEN_X86_FPU_INITIALISED (1U<<_XEN_X86_FPU_INITIALISED) >>> uint32_t flags; >>>

Re: [PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-21 Thread Tamas K Lengyel
On Mon, Mar 21, 2022 at 8:16 AM Jan Beulich wrote: > > On 17.03.2022 16:57, Tamas K Lengyel wrote: > > During VM forking and resetting a failed vmentry has been observed due > > to the guest non-register state going out-of-sync with the guest register > > state. For example, a VM fork reset right

Re: [PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-21 Thread Jan Beulich
On 17.03.2022 16:57, Tamas K Lengyel wrote: > During VM forking and resetting a failed vmentry has been observed due > to the guest non-register state going out-of-sync with the guest register > state. For example, a VM fork reset right after a STI instruction can trigger > the failed entry. This

[PATCH v2] x86/vmx: save guest non-register state in hvm_hw_cpu

2022-03-17 Thread Tamas K Lengyel
During VM forking and resetting a failed vmentry has been observed due to the guest non-register state going out-of-sync with the guest register state. For example, a VM fork reset right after a STI instruction can trigger the failed entry. This is due to the guest non-register state not being