Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/56185 )
Change subject: dev-arm: Don't check validKvmEnvironment in the generic
timer.
......................................................................
dev-arm: Don't check validKvmEnvironment in the generic timer.
We can instead check to see if there's a VM, since if there is one, that
implies the KVM environment is valid.
Change-Id: I03aa09471e052f23ef541435e8434398456ee8aa
---
M src/dev/arm/generic_timer.hh
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/dev/arm/generic_timer.hh b/src/dev/arm/generic_timer.hh
index 9cccef6..1efebfa 100644
--- a/src/dev/arm/generic_timer.hh
+++ b/src/dev/arm/generic_timer.hh
@@ -280,8 +280,10 @@
// For ArchTimer's in a GenericTimerISA with Kvm execution about
// to begin, skip rescheduling the event.
// Otherwise, we should reschedule the event (if necessary).
- bool scheduleEvents() override {
- return !system.validKvmEnvironment();
+ bool
+ scheduleEvents() override
+ {
+ return !system.getKvmVM();
}
};
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/56185
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I03aa09471e052f23ef541435e8434398456ee8aa
Gerrit-Change-Number: 56185
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s