[gem5-users] Re: How to enable KVM unitest on ARM server

2021-10-30 Thread Gabe Black via gem5-users
I found it in the revision history. If you're building the "NULL" target,
you should not set USE_KVM to true. If you do, then it will try to verify
that the simulated architecture and the host architecture is the same,
which is the only time KVM will work. This "Info" print out is just telling
you that there's a mismatch between no ISA and the ARM ISA, and that KVM is
not available.

In general, unless it says "error", it's not an error and you don't need to
be overly concerned about it.

Gabe

On Fri, Oct 29, 2021 at 9:35 PM Liyichao  wrote:

> If I build gem5.opt of ARM on X86 server, the print “Info: KVM for null
> not supported on arm host.” will also be presented
>
>
>
> *发件人:* Gabe Black via gem5-users [mailto:gem5-users@gem5.org]
> *发送时间:* 2021年10月29日 11:43
> *收件人:* gem5 users mailing list 
> *抄送:* Gabe Black 
> *主题:* [gem5-users] Re: How to enable KVM unitest on ARM server
>
>
>
> Hi, I just grepped through all of gem5's source, and, even ignoring
> capitalization, the string "KVM for" does not appear outside of a couple
> comments. I have no idea where that string is coming from, but it doesn't
> seem to be from gem5 itself.
>
>
>
> Gabe
>
>
>
> On Thu, Oct 28, 2021 at 8:04 PM Liyichao via gem5-users <
> gem5-users@gem5.org> wrote:
>
> Hi All:
>
> My GEM5 V21.1.0.2 running on aarch64 server, but when I compile
> bitunion.test.opt, the compilation print will show “Info: KVM for null not
> supported on arm host.”
>
>
>
> scons build/NULL/base/bitunion.test.opt -j120
>
> scons: Reading SConscript files ...
>
> Checking for linker -Wl,--as-needed support... (cached) yes
>
> Warning: While checking protoc version: [Errno 2] No such file or
> directory: 'protoc'
>
> Warning: Protocol buffer compiler (protoc) not found.
>
>  Please install protobuf-compiler for tracing support.
>
> Checking for compiler -gz support... (cached) yes
>
> Checking for linker -gz support... (cached) yes
>
> Info: Using Python config: python3-config
>
> Checking for C header file Python.h... (cached) yes
>
> Checking for C library python3.8... (cached) yes
>
> Checking for C library crypt... (cached) yes
>
> Checking for C library pthread... (cached) yes
>
> Checking for C library dl... (cached) yes
>
> Checking for C library util... (cached) yes
>
> Checking for C library m... (cached) yes
>
> Checking Python version... (cached) 3.8.5
>
> Checking for accept(0,0,0) in C++ library None... (cached) yes
>
> Checking for zlibVersion() in C++ library z... (cached) yes
>
> Checking for C header file valgrind/valgrind.h... (cached) no
>
> Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached)
> yes
>
> Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library
> None... (cached) no
>
> Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library rt...
> (cached) yes
>
> Checking for C library tcmalloc... (cached) yes
>
> Checking for char temp; backtrace_symbols_fd((void *), 0, 0) in C
> library None... (cached) yes
>
> Checking for C header file fenv.h... (cached) yes
>
> Checking for C header file png.h... (cached) yes
>
> Checking for C header file linux/kvm.h... (cached) yes
>
> Checking for C header file linux/if_tun.h... (cached) yes
>
> Checking for member exclude_host in struct perf_event_attr...(cached) yes
>
> Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... (cached) no
>
> Warning: Couldn't find any HDF5 C++ libraries. Disabling HDF5 support.
>
> Checking whether __i386__ is declared... (cached) no
>
> Checking whether __x86_64__ is declared... (cached) no
>
> Warning: Unrecognized architecture for systemc.
>
> Building in /home/l00515693/KSim_LightESL/build/NULL
>
> Variables file /home/l00515693/KSim_LightESL/build/variables/NULL not
> found,
>
>   using defaults in /home/l00515693/KSim_LightESL/build_opts/NULL
>
> *Info: KVM for null not supported on arm host.*
>
> scons: done reading SConscript files.
>
> scons: Building targets ...
>
>
>
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: How to enable KVM unitest on ARM server

2021-10-28 Thread Gabe Black via gem5-users
Hi, I just grepped through all of gem5's source, and, even ignoring
capitalization, the string "KVM for" does not appear outside of a couple
comments. I have no idea where that string is coming from, but it doesn't
seem to be from gem5 itself.

Gabe

On Thu, Oct 28, 2021 at 8:04 PM Liyichao via gem5-users 
wrote:

> Hi All:
>
> My GEM5 V21.1.0.2 running on aarch64 server, but when I compile
> bitunion.test.opt, the compilation print will show “Info: KVM for null not
> supported on arm host.”
>
>
>
> scons build/NULL/base/bitunion.test.opt -j120
>
> scons: Reading SConscript files ...
>
> Checking for linker -Wl,--as-needed support... (cached) yes
>
> Warning: While checking protoc version: [Errno 2] No such file or
> directory: 'protoc'
>
> Warning: Protocol buffer compiler (protoc) not found.
>
>  Please install protobuf-compiler for tracing support.
>
> Checking for compiler -gz support... (cached) yes
>
> Checking for linker -gz support... (cached) yes
>
> Info: Using Python config: python3-config
>
> Checking for C header file Python.h... (cached) yes
>
> Checking for C library python3.8... (cached) yes
>
> Checking for C library crypt... (cached) yes
>
> Checking for C library pthread... (cached) yes
>
> Checking for C library dl... (cached) yes
>
> Checking for C library util... (cached) yes
>
> Checking for C library m... (cached) yes
>
> Checking Python version... (cached) 3.8.5
>
> Checking for accept(0,0,0) in C++ library None... (cached) yes
>
> Checking for zlibVersion() in C++ library z... (cached) yes
>
> Checking for C header file valgrind/valgrind.h... (cached) no
>
> Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached)
> yes
>
> Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library
> None... (cached) no
>
> Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library rt...
> (cached) yes
>
> Checking for C library tcmalloc... (cached) yes
>
> Checking for char temp; backtrace_symbols_fd((void *), 0, 0) in C
> library None... (cached) yes
>
> Checking for C header file fenv.h... (cached) yes
>
> Checking for C header file png.h... (cached) yes
>
> Checking for C header file linux/kvm.h... (cached) yes
>
> Checking for C header file linux/if_tun.h... (cached) yes
>
> Checking for member exclude_host in struct perf_event_attr...(cached) yes
>
> Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... (cached) no
>
> Warning: Couldn't find any HDF5 C++ libraries. Disabling HDF5 support.
>
> Checking whether __i386__ is declared... (cached) no
>
> Checking whether __x86_64__ is declared... (cached) no
>
> Warning: Unrecognized architecture for systemc.
>
> Building in /home/l00515693/KSim_LightESL/build/NULL
>
> Variables file /home/l00515693/KSim_LightESL/build/variables/NULL not
> found,
>
>   using defaults in /home/l00515693/KSim_LightESL/build_opts/NULL
>
> *Info: KVM for null not supported on arm host.*
>
> scons: done reading SConscript files.
>
> scons: Building targets ...
>
>
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s