Daniel Carvalho has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46321 )

Change subject: cpu-kvm: Fix missing includes
......................................................................

cpu-kvm: Fix missing includes

"struct kvm_*" are declared in linux/kvm.h, and
were not being included despite being used.

Change-Id: I511bad19882450f8ecdd6b5efb687026d0fd94ca
Signed-off-by: Daniel R. Carvalho <oda...@yahoo.com.br>
---
M src/cpu/kvm/base.hh
M src/cpu/kvm/vm.hh
2 files changed, 3 insertions(+), 0 deletions(-)



diff --git a/src/cpu/kvm/base.hh b/src/cpu/kvm/base.hh
index a19152b..892ec7f 100644
--- a/src/cpu/kvm/base.hh
+++ b/src/cpu/kvm/base.hh
@@ -38,6 +38,7 @@
 #ifndef __CPU_KVM_BASE_HH__
 #define __CPU_KVM_BASE_HH__

+#include <linux/kvm.h>
 #include <pthread.h>

 #include <csignal>
diff --git a/src/cpu/kvm/vm.hh b/src/cpu/kvm/vm.hh
index 340e6f5..be2d5ba 100644
--- a/src/cpu/kvm/vm.hh
+++ b/src/cpu/kvm/vm.hh
@@ -39,6 +39,8 @@
 #ifndef __CPU_KVM_KVMVM_HH__
 #define __CPU_KVM_KVMVM_HH__

+#include <linux/kvm.h>
+
 #include <vector>

 #include "base/addr_range.hh"

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46321
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: I511bad19882450f8ecdd6b5efb687026d0fd94ca
Gerrit-Change-Number: 46321
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <oda...@yahoo.com.br>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to