The "Fix KVM on Intel platforms" patch is on stable, it was added here:
https://gem5-review.googlesource.com/c/public/gem5/+/12278

The other patch your cherry-picking I'm less sure of, but I dont think it's
a relevant problem anymore from what I can ascertain.

I apologize that the gem5art documentation is using such an old version of
gem5. Have you managed to get this working with the stable branch (version
21.0)? I'm not aware of any reason why it shouldn't work.

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Jun 9, 2021 at 7:06 AM Rajesh Shashi Kumar via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
> I'm attempting to run PARSEC benchmarks in FS mode on gem5-v21.0. I have
> encountered an issue with KVM on Intel machine. I believe the same was
> addressed by this patch
> <https://gem5-review.googlesource.com/c/public/gem5/+/7361> recommended
> earlier in the mailing list
> <https://gem5-users.gem5.narkive.com/8DBihuUx/running-fs-py-with-x86kvmcpu-failed>
> .
>
>     panic: KVM: Failed to enter virtualized mode (hw reason: 0x80000021)
>
> Most of the tutorials on gem5art
> <http://www.gem5.org/documentation/gem5art/tutorials/boot-tutorial> in
> gem5 documentation recommend using gem5-v20.1, but I noticed that applying
> the patch on 20.1 or 21 is not a trivial merge. For the time being, I've
> been able to use this specific commit tag described in gem5art-experiments
> <https://github.com/darchr/gem5art-experiments>.
>
> git clone https://gem5.googlesource.com/public/gem5cd gem5
> git checkout *d40f0bc579fb8b10da7181*
> git remote add darchr https://github.com/darchr/gem5
> git fetch darchr*git cherry-pick 
> 6450aaa7ca9e3040fb9eecf69c51a01884ac370c**git cherry-pick 
> 3403665994b55f664f4edfc9074650aaa7ddcd2c*
> scons build/X86/gem5.opt -j8
>
> At this point, I have two questions:
>
>    1. Is the KVM patch necessary on gem5-v21?
>    2. In case someone has encountered a similar issue previously, were
>    you able to find a way to merge the patch on newer gem5 releases
>
> Thank you for your time.
>
> Regards,
> Rajesh Shashi Kumar
> _______________________________________________
> 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

Reply via email to