cpu-kvm, arch-x86: Fix KVM on Intel platforms
authorJason Lowe-Power <jason@lowepower.com>
Wed, 29 Aug 2018 01:50:21 +0000 (18:50 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Tue, 20 Oct 2020 16:44:26 +0000 (16:44 +0000)
commit85a36581d4c74f9d0edbaeb1f37516fe97b78274
treeed054b15e48bb34da5d0b1152910d2871bcc350c
parentf612d836fc417905591c06a2becf2fd129bfc78f
cpu-kvm, arch-x86: Fix KVM on Intel platforms

This is the minimal set of changes from the patch that's been floating
around for a few years originally by Mike Upton.

See http://reviews.gem5.org/r/2613/ and
https://gem5-review.googlesource.com/c/public/gem5/+/7361

The change to the tssDesc is the minimal change to get KVM working on
Intel platforms. However, the other changes seem prudent to add.

Tested on both Intel (i7-7700) and AMD (EPYC 7451) platforms.

Change-Id: I000c7ba102ba161c2bb5e224bf826216cf0ff87a
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/12278
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/fs_workload.cc