Re: vmm: load vmcs before reading vcpu registers

2022-05-20 Thread Mike Larkin
On Wed, May 18, 2022 at 10:27:11AM -0400, Dave Voutila wrote: > > ping...would like to get this in if possible so I can move onto fixing > some things in vmm. > sorry. ok mlarkin > Dave Voutila writes: > > > tech@, > > > > Continuing my vmm/vmd bug hunt, the following diff adapts > > vcpu_readre

Re: vmm: load vmcs before reading vcpu registers

2022-05-18 Thread Dave Voutila
ping...would like to get this in if possible so I can move onto fixing some things in vmm. Dave Voutila writes: > tech@, > > Continuing my vmm/vmd bug hunt, the following diff adapts > vcpu_readregs_vmx to optionally load the vmcs on the current cpu. This > has gone unnoticed as the ioctl isn'

vmm: load vmcs before reading vcpu registers

2022-05-08 Thread Dave Voutila
tech@, Continuing my vmm/vmd bug hunt, the following diff adapts vcpu_readregs_vmx to optionally load the vmcs on the current cpu. This has gone unnoticed as the ioctl isn't used in typical vmd usage and the usage of vcpu_readregs_vmx in the run ioctl is after the vmcs is already loaded on the cur