aboutsummaryrefslogtreecommitdiff
path: root/target-arm/kvm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-08 13:30:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-04-30 16:55:32 +0200
commit4c6637525290dc863a00be7f58fc11d07b780bd4 (patch)
tree06859ebc2c73a788523d8a2c60d572510e95a607 /target-arm/kvm.c
parentf8a9f720dd2fa5c1560838c26c6dad396a0cef5b (diff)
downloadqemu-4c6637525290dc863a00be7f58fc11d07b780bd4.zip
qemu-4c6637525290dc863a00be7f58fc11d07b780bd4.tar.gz
qemu-4c6637525290dc863a00be7f58fc11d07b780bd4.tar.bz2
kvm: add support for memory transaction attributes
Let kvm_arch_post_run convert fields in the kvm_run struct to MemTxAttrs. These are then passed to address_space_rw. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-arm/kvm.c')
-rw-r--r--target-arm/kvm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target-arm/kvm.c b/target-arm/kvm.c
index fdd9ba3..16abbf1 100644
--- a/target-arm/kvm.c
+++ b/target-arm/kvm.c
@@ -23,6 +23,7 @@
#include "cpu.h"
#include "internals.h"
#include "hw/arm/arm.h"
+#include "exec/memattrs.h"
const KVMCapabilityInfo kvm_arch_required_capabilities[] = {
KVM_CAP_LAST_INFO
@@ -506,8 +507,9 @@ void kvm_arch_pre_run(CPUState *cs, struct kvm_run *run)
{
}
-void kvm_arch_post_run(CPUState *cs, struct kvm_run *run)
+MemTxAttrs kvm_arch_post_run(CPUState *cs, struct kvm_run *run)
{
+ return MEMTXATTRS_UNSPECIFIED;
}
int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run)