|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v4 10/14] x86/vmx: guard access to cpu_has_vmx_* in common code
22.07.24 14:43, Jan Beulich: On 09.07.2024 08:05, Sergiy Kibrik wrote: these modifications in .c files are made mainly to track places where build fails and to highlight where global variables are causing a trouble. cpu_has_monitor_trap_flag and fellow macros are used within VMX code mostly and don't need these checks inside of them most of the time -- at least so I felt. As for those cpu_has_vmx_* macros that are modified in header -- these are being checked in a bit more tricky way, so instead of making complex conditionals even more complicated, I've integrated CONFIG_VMX condition check inside these macros instead. Ofc we can proceed with only .h files modifications, if this is more consistent with what is planned for cpu_has_vmx_* checks in future. -Sergiy
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |