diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2021-08-31 17:41:00 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2021-08-31 17:41:00 +0000 |
commit | 5d33c765eea05b57909ac1467f3087b0c8988144 (patch) | |
tree | 9a1f8c79fa66ad604bfee819edbdb80b09033f01 /sys/arch/luna88k | |
parent | 707dc0c5301af3bd14418a8b4727bc2a23fe21af (diff) |
vmm(4): add ipi for vmclear, unlock kernel
On Intel VMX hosts, when a guest migrates cpus, VMCS state needs
to be flushed to physical memory before being reloaded on the new
cpu. This diff adds a new ipi to allow a guest resuming on a new
cpu to signal to the old that it needs to vmclear.
To better surface the potential race conditions, unlock the kernel
after handling the ioctl to vmm and simplify the run loops for both
vmx and svm. This requires a new vcpu lock.
Tested by some on tech@. "go for it" @mlarkin
Diffstat (limited to 'sys/arch/luna88k')
0 files changed, 0 insertions, 0 deletions