|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] x86/cpuid: gate the hypervisor PV-only leaf on is_pv_domain()
On Wed, Aug 26, 2026 at 03:25:26PM +0800, Jiaqing Zhao wrote: > Hypervisor leaf 5 is PV-specific, but is gated with !is_hvm_domain(), I would maybe write "..., but is gated using is_hvm_domain()". > which stays a runtime test in a build without PV support. Test for a > PV domain directly so the compiler can discard the leaf when > CONFIG_PV is disabled. > > Suggested-by: Roger Pau Monné <roger@xxxxxxxxxxxxxx> > Signed-off-by: Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx> Acked-by: Roger Pau Monné <roger@xxxxxxxxxxxxxx> Thanks, Roger.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |