Re: [PATCH 7/8] x86/hvm: Drop restore boolean from hvm_cr4_guest_valid_bits()

2020-10-05 Thread Andrew Cooper
On 01/10/2020 12:00, Roger Pau Monné wrote: > On Wed, Sep 30, 2020 at 02:42:47PM +0100, Andrew Cooper wrote: >> Previously, migration was reordered so the CPUID data was available before >> register state. nestedhvm_enabled() has recently been made accurate for the >> entire lifetime of the

Re: [PATCH 7/8] x86/hvm: Drop restore boolean from hvm_cr4_guest_valid_bits()

2020-10-01 Thread Roger Pau Monné
On Wed, Sep 30, 2020 at 02:42:47PM +0100, Andrew Cooper wrote: > Previously, migration was reordered so the CPUID data was available before > register state. nestedhvm_enabled() has recently been made accurate for the > entire lifetime of the domain. > > Therefore, we can drop the bodge in

[PATCH 7/8] x86/hvm: Drop restore boolean from hvm_cr4_guest_valid_bits()

2020-09-30 Thread Andrew Cooper
Previously, migration was reordered so the CPUID data was available before register state. nestedhvm_enabled() has recently been made accurate for the entire lifetime of the domain. Therefore, we can drop the bodge in hvm_cr4_guest_valid_bits() which existed previously to tolerate a guests' CR4