arch-x86,cpu-kvm: Move the x86 KVM CPU to the arch/x86 directory.

The x86 KVM CPU had been in the cpu/kvm directory, while the arm CPU was
inconsistently in the arch/arm directory.

This change moves the x86 CPU to be in arch/x86, restoring consistency.
This location will make the KVM support more modular, by not having the
x86 CPU implementation right alongside the generic implementation.

Change-Id: Ia13151f843df8f8877bfef5ff620825877d3dffa
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52085
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2021-10-26 02:12:11 -07:00
parent 0feb0a34db
commit 77b009855f
5 changed files with 56 additions and 11 deletions

View File

@@ -49,9 +49,6 @@ Source('vm.cc')
Source('perfevent.cc')
Source('timer.cc')
SimObject('X86KvmCPU.py', tags='x86 isa')
Source('x86_cpu.cc', tags='x86 isa')
DebugFlag('Kvm', 'Basic KVM Functionality')
DebugFlag('KvmContext', 'KVM/gem5 context synchronization')
DebugFlag('KvmIO', 'KVM MMIO diagnostics')