Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Move selector validity checking to vcpu_set_regs #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nevilad
Copy link
Contributor

@nevilad nevilad commented Dec 10, 2019

Comments to cs.ar and tr.ar validity checking stating that these can be wrong set by qemu. But the checks were done before every vmentry with reading the values from vmcs and that is bad for performance. I moved the checks to vcpu_set_regs since qemu sets them through this function. I did not found any other places that write these to vmcs.

@HaxmCI HaxmCI added CI:Build Pass CI:Build Pass CI:Mac Test Pass CI:Mac Test Pass labels Dec 10, 2019
@nevilad
Copy link
Contributor Author

nevilad commented Feb 14, 2020

Please don't apply this patch, I think I found an example where the TR.ar is corrupted by vmx. Need time to debug this.

@HaxmCI HaxmCI added CI:Build Fail CI:Build Fail and removed CI:Build Pass CI:Build Pass CI:Mac Test Pass CI:Mac Test Pass labels May 24, 2021
@wcwang wcwang force-pushed the master branch 2 times, most recently from 563eb1b to 6b942e3 Compare November 25, 2022 03:23
@wcwang wcwang force-pushed the master branch 2 times, most recently from b73a231 to da1b8ec Compare January 26, 2023 02:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI:Build Fail CI:Build Fail
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants