Re: [gem5-users] use_kvm.hh
Thank You. The issue got resolved. "USE_KVM" was missing from export_vars in gem5_dir/src/SConscript. Adding it there, helped the build complete successfully. Regards Nidhi On Thu, Aug 10, 2017 at 4:01 PM, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello, > Not sure what could have caused the error. Which patches did you apply if > I may ask? > > The file is supposed to be created by gem5_dir/SConstruct. You can see > "USE_KVM" there and export_vars in gem5_dir/src/SConscript. It only > contains one line which, for my case, "#define USE_KVM 0". > > https://gem5.googlesource.com/public/gem5/+/master/SConstruct#1295 > https://gem5.googlesource.com/public/gem5/+/master/src/SConscript#361 > > Cheers > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [ > nidhikamat...@gmail.com] > Sent: 09 August 2017 21:33 > To: gem5 users mailing list > Subject: Re: [gem5-users] use_kvm.hh > > Yes, > > I am using the latest version gem5 git repository. > > I installed it and successfully build it. After which I applied a patch on > it which is when i am getting the issue. > > That is why I wanted to know how exactly is the file generated and from > where. > > Can you explain more about the cleanup? > > Regards > Nidhi > > On Aug 9, 2017 10:30 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk > <mailto:serhat.geso...@manchester.ac.uk>> wrote: > Hello, > The file should be created by scons. I just did a clean clone and build, > and the aforementioned file was created without any problems. Are you using > the latest version of gem5? Can you try rebuilding again? > > Cheers > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-bounces@ > gem5.org>] on behalf of Nidhi Kamath [nidhikamat...@gmail.com nidhikamat...@gmail.com>] > Sent: 09 August 2017 18:55 > To: gem5 users mailing list > Subject: Re: [gem5-users] use_kvm.hh > > Hello, > > Yes. But it is not getting generated automatically during build and hence > the system.cc file throws an error saying it cannot find that file. > > Can you tell me what exactly generates this file? > > Regards > Nidhi > > On Aug 9, 2017 5:14 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk > <mailto:serhat.geso...@manchester.ac.uk><mailto:serha > t.geso...@manchester.ac.uk<mailto:serhat.geso...@manchester.ac.uk>>> > wrote: > Hello, > It is an automatically created file, after building a system you can find > this file in gem5_dir/build/[arch]/config/ > > Hope this helps. > > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-bounces@ > gem5.org><mailto:gem5-users-boun...@gem5.org<mailto:gem5- > users-boun...@gem5.org>>] on behalf of Nidhi Kamath [ > nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com> nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com>>] > Sent: 09 August 2017 15:30 > To: gem5 users mailing list > Subject: [gem5-users] use_kvm.hh > > Hello, > > In the new gem5 git repository , the file system.cc in src/sim uses the > file > #include "config/use_kvm.hh". > > I cannot find this file in any location. What does this file and where can > I find it? > > Regards > Nidhi > ___ > gem5-users mailing list > gem5-users@gem5.org<mailto:gem5-users@gem5.org><mailto:gem5-users@gem5.org > <mailto:gem5-users@gem5.org>> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ > gem5-users mailing list > gem5-users@gem5.org<mailto:gem5-users@gem5.org> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] use_kvm.hh
Hello, Not sure what could have caused the error. Which patches did you apply if I may ask? The file is supposed to be created by gem5_dir/SConstruct. You can see "USE_KVM" there and export_vars in gem5_dir/src/SConscript. It only contains one line which, for my case, "#define USE_KVM 0". https://gem5.googlesource.com/public/gem5/+/master/SConstruct#1295 https://gem5.googlesource.com/public/gem5/+/master/src/SConscript#361 Cheers Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [nidhikamat...@gmail.com] Sent: 09 August 2017 21:33 To: gem5 users mailing list Subject: Re: [gem5-users] use_kvm.hh Yes, I am using the latest version gem5 git repository. I installed it and successfully build it. After which I applied a patch on it which is when i am getting the issue. That is why I wanted to know how exactly is the file generated and from where. Can you explain more about the cleanup? Regards Nidhi On Aug 9, 2017 10:30 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk<mailto:serhat.geso...@manchester.ac.uk>> wrote: Hello, The file should be created by scons. I just did a clean clone and build, and the aforementioned file was created without any problems. Are you using the latest version of gem5? Can you try rebuilding again? Cheers Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] on behalf of Nidhi Kamath [nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com>] Sent: 09 August 2017 18:55 To: gem5 users mailing list Subject: Re: [gem5-users] use_kvm.hh Hello, Yes. But it is not getting generated automatically during build and hence the system.cc file throws an error saying it cannot find that file. Can you tell me what exactly generates this file? Regards Nidhi On Aug 9, 2017 5:14 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk<mailto:serhat.geso...@manchester.ac.uk><mailto:serhat.geso...@manchester.ac.uk<mailto:serhat.geso...@manchester.ac.uk>>> wrote: Hello, It is an automatically created file, after building a system you can find this file in gem5_dir/build/[arch]/config/ Hope this helps. Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org><mailto:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>>] on behalf of Nidhi Kamath [nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com><mailto:nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com>>] Sent: 09 August 2017 15:30 To: gem5 users mailing list Subject: [gem5-users] use_kvm.hh Hello, In the new gem5 git repository , the file system.cc in src/sim uses the file #include "config/use_kvm.hh". I cannot find this file in any location. What does this file and where can I find it? Regards Nidhi ___ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org><mailto:gem5-users@gem5.org<mailto:gem5-users@gem5.org>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] use_kvm.hh
Yes, I am using the latest version gem5 git repository. I installed it and successfully build it. After which I applied a patch on it which is when i am getting the issue. That is why I wanted to know how exactly is the file generated and from where. Can you explain more about the cleanup? Regards Nidhi On Aug 9, 2017 10:30 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk> wrote: > Hello, > The file should be created by scons. I just did a clean clone and build, > and the aforementioned file was created without any problems. Are you using > the latest version of gem5? Can you try rebuilding again? > > Cheers > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [ > nidhikamat...@gmail.com] > Sent: 09 August 2017 18:55 > To: gem5 users mailing list > Subject: Re: [gem5-users] use_kvm.hh > > Hello, > > Yes. But it is not getting generated automatically during build and hence > the system.cc file throws an error saying it cannot find that file. > > Can you tell me what exactly generates this file? > > Regards > Nidhi > > On Aug 9, 2017 5:14 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk > <mailto:serhat.geso...@manchester.ac.uk>> wrote: > Hello, > It is an automatically created file, after building a system you can find > this file in gem5_dir/build/[arch]/config/ > > Hope this helps. > > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-bounces@ > gem5.org>] on behalf of Nidhi Kamath [nidhikamat...@gmail.com nidhikamat...@gmail.com>] > Sent: 09 August 2017 15:30 > To: gem5 users mailing list > Subject: [gem5-users] use_kvm.hh > > Hello, > > In the new gem5 git repository , the file system.cc in src/sim uses the > file > #include "config/use_kvm.hh". > > I cannot find this file in any location. What does this file and where can > I find it? > > Regards > Nidhi > ___ > gem5-users mailing list > gem5-users@gem5.org<mailto:gem5-users@gem5.org> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] use_kvm.hh
Hello, The file should be created by scons. I just did a clean clone and build, and the aforementioned file was created without any problems. Are you using the latest version of gem5? Can you try rebuilding again? Cheers Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [nidhikamat...@gmail.com] Sent: 09 August 2017 18:55 To: gem5 users mailing list Subject: Re: [gem5-users] use_kvm.hh Hello, Yes. But it is not getting generated automatically during build and hence the system.cc file throws an error saying it cannot find that file. Can you tell me what exactly generates this file? Regards Nidhi On Aug 9, 2017 5:14 PM, "Serhat Gesoglu" <serhat.geso...@manchester.ac.uk<mailto:serhat.geso...@manchester.ac.uk>> wrote: Hello, It is an automatically created file, after building a system you can find this file in gem5_dir/build/[arch]/config/ Hope this helps. Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] on behalf of Nidhi Kamath [nidhikamat...@gmail.com<mailto:nidhikamat...@gmail.com>] Sent: 09 August 2017 15:30 To: gem5 users mailing list Subject: [gem5-users] use_kvm.hh Hello, In the new gem5 git repository , the file system.cc in src/sim uses the file #include "config/use_kvm.hh". I cannot find this file in any location. What does this file and where can I find it? Regards Nidhi ___ gem5-users mailing list gem5-users@gem5.org<mailto:gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] use_kvm.hh
Hello, Yes. But it is not getting generated automatically during build and hence the system.cc file throws an error saying it cannot find that file. Can you tell me what exactly generates this file? Regards Nidhi On Aug 9, 2017 5:14 PM, "Serhat Gesoglu"wrote: > Hello, > It is an automatically created file, after building a system you can find > this file in gem5_dir/build/[arch]/config/ > > Hope this helps. > > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [ > nidhikamat...@gmail.com] > Sent: 09 August 2017 15:30 > To: gem5 users mailing list > Subject: [gem5-users] use_kvm.hh > > Hello, > > In the new gem5 git repository , the file system.cc in src/sim uses the > file > #include "config/use_kvm.hh". > > I cannot find this file in any location. What does this file and where can > I find it? > > Regards > Nidhi > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] use_kvm.hh
Hello, It is an automatically created file, after building a system you can find this file in gem5_dir/build/[arch]/config/ Hope this helps. Serhat Gesoglu From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [nidhikamat...@gmail.com] Sent: 09 August 2017 15:30 To: gem5 users mailing list Subject: [gem5-users] use_kvm.hh Hello, In the new gem5 git repository , the file system.cc in src/sim uses the file #include "config/use_kvm.hh". I cannot find this file in any location. What does this file and where can I find it? Regards Nidhi ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users