|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v1] x86/svm: Intercept CR0 writes selectively
On 9/3/26 2:02 PM, Jan Beulich wrote: On 28.08.2026 16:19, Ross Lagerwall wrote:Xen does not need to track when the TS or MP bits change so opt to intercept CR0 writes selectively.Not anymore, which may want expressing here (or else it looks as if this would have been possible from the start).Aside from potentially reducing a few VMEXITs, this fixes a nested virt bug where L1 intercepts CR0_SEL_WRITE and L0 intercepts CR0_WRITE. The hardware prioritizes CR0_WRITE and so L1 never sees any CR0 writes.Yet if L1 sets CR0_WRITE, since intercept masks are ORed together (if I'm not mistaken), ... No, it shouldn't get here in that case. If L1 sets CR0_WRITE, it will enter nestedsvm_check_intercepts() and then hit the NESTEDHVM_VMEXIT_INJECT case. Ross
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |