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.

each vmentry.

Signed-off-by: Alexey Romko <nevilad@yahoo.com>
@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.

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