Hi Everyone,

I’ve been trying to use KVM in gem5 simulation; however, when I try to run I 
get the output below with PerfKvmCounter::attach failed (2) error. 

I’m running gem5 on an Azure VM with Ubuntu 20.04. I’m trying to run the 
vSwarm-u suite for serverless architecture.

I have found a proposed fix on a previous thread that said to 'echo -1 > 
/proc/sys/kernel/perf_event_paranoid’ on the host machine. I have done this 
(assuming the host machine means the VM I’m running gem5 on or does it mean the 
bare metal host?) but there has been no changes to the output message. 

Any help or ideas about how to go about this would be greatly appreciated!

Thanks,
Atlas

Create CPU:  X86KvmCPU
Created CPU: 2x X86KvmCPU, Mem mode: atomic_noncaching
--- Setup Mode ---
Global frequency set at 1000000000000 ticks per second
warn: system.workload.acpi_description_table_pointer.rsdt adopting orphan 
SimObject param 'entries'
warn: failed to generate dot output from results/fibonacci-go/config.dot
build/X86/sim/kernel_workload.cc:46: info: kernel located at: kernel
      0: system.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan  1 
00:00:00 2012
system.pc.com_1.device: Listening for connections on port 3456
0: system.remote_gdb: listening for remote gdb on port 7000
build/X86/mem/coherent_xbar.cc:140: warn: CoherentXBar system.llc_bus has no 
snooping ports attached!
build/X86/dev/intel_8254_timer.cc:128: warn: Reading current count from 
inactive timer.
Start simulation...
build/X86/cpu/kvm/base.cc:150: info: KVM: Coalesced MMIO disabled by config.
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 2
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 3
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 4
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 5
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 6
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 8
build/X86/cpu/kvm/base.cc:150: info: KVM: Coalesced MMIO disabled by config.
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 2
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 3
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 4
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 5
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 6
build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000: unimplemented 
function 8
build/X86/sim/simulate.cc:194: info: Entering event queue @ 0.  Starting 
simulation...
build/X86/cpu/kvm/perfevent.cc:183: panic: PerfKvmCounter::attach failed (2)
Memory Usage: 2390716 KBytes
build/X86/cpu/kvm/perfevent.cc:183: panic: PerfKvmCounter::attach failed (2)
Memory Usage: 2390716 KBytes
Program aborted at tick 0

_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to