x86,kvm: Use the new workload event to trigger KVM system calls.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 00:37:20 +0000 (17:37 -0700)
committerGabe Black <gabe.black@gmail.com>
Thu, 29 Oct 2020 01:35:30 +0000 (01:35 +0000)
commit92abe28af49d9194f8c5a31891ebe04b5e1dcd21
tree1fb6c45b071a3ac32b7a056491c98b9b70b1b720
parent9fff55c93c633954e40f742553451415f602ff65
x86,kvm: Use the new workload event to trigger KVM system calls.

While events are only used for SE mode for now, this moves to using the
common mechanism and gets rid of the need for the system call specific
pseudo inst.

Change-Id: I53468103d7f046b85cc25cbff94b12dbc946f4f0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34163
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/process.cc