Skip to content
Commit 7a504920 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: restrict CPUID to avoid perf counter wrmsr



Avoid the following:
[    0.012093] WARNING: at arch/x86/kernel/apic/apic.c:249 native_apic_write_dummy+0x2f/0x40()

Rather than chase each new cpuid-detected feature, just lie about the highest
valid CPUID so this code is never run.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 27de22d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment