|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/vpmu_intel: Fix hypervisor crash by catching wrmsr fault
On 04/24/2017 12:00 PM, Boris Ostrovsky wrote: Also, from the description in the SDM, PC flag bit it seems very disruptive to me. SDM says that if the bit is set then the processor toggles the PMi pin (generating a performance monitoring interrupt?) every time the event occurs. So if we program the counter to count "unhaulted core cycles", and set PC flag bit it will generate an interrupts every cycle!? Given that we know this now, will it makes sense to go with solution 1 in my cover letter for this patch - " 1. Mask the PC bit in the VPMU so as to not allow any writes to it from guests on any Intel machine. " But even then the question remains whether we should return an error when user tries to set this bit or should we just silently mask it the way KVM does? Mohit -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |