aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-06 07:32:17 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-28 14:14:22 +0200
commit217a190eece1a13297b7b075bce50226e5e78048 (patch)
tree214dc73336280d215e4c1aab8352244fcd72ade6 /include
parent3b295bcb3289afec09508786032f4ba5d657a934 (diff)
accel/kvm: Re-include "exec/memattrs.h" header
Commit 1e05888ab5 ("sysemu/kvm: Remove unused headers") was a bit overzealous while cleaning "sysemu/kvm.h" headers: kvm_arch_post_run() returns a MemTxAttrs type, so depends on "exec/memattrs.h" for its definition. Fixes: 1e05888ab5 ("sysemu/kvm: Remove unused headers") Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230619074153.44268-5-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h
index 7902acdfd9..115f0cca79 100644
--- a/include/sysemu/kvm.h
+++ b/include/sysemu/kvm.h
@@ -16,6 +16,7 @@
#ifndef QEMU_KVM_H
#define QEMU_KVM_H
+#include "exec/memattrs.h"
#include "qemu/accel.h"
#include "qom/object.h"