diff options
| author | Paolo Bonzini | 2015-04-08 13:30:58 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-04-30 16:55:32 +0200 |
| commit | 4c6637525290dc863a00be7f58fc11d07b780bd4 (patch) | |
| tree | 06859ebc2c73a788523d8a2c60d572510e95a607 /include | |
| parent | mtree: also print disabled regions (diff) | |
| download | qemu-4c6637525290dc863a00be7f58fc11d07b780bd4.tar.gz qemu-4c6637525290dc863a00be7f58fc11d07b780bd4.tar.xz qemu-4c6637525290dc863a00be7f58fc11d07b780bd4.zip | |
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 'include')
| -rw-r--r-- | include/sysemu/kvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 197e6c0214..4878959404 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -18,6 +18,7 @@ #include "config-host.h" #include "qemu/queue.h" #include "qom/cpu.h" +#include "exec/memattrs.h" #ifdef CONFIG_KVM #include <linux/kvm.h> @@ -254,7 +255,7 @@ int kvm_create_device(KVMState *s, uint64_t type, bool test); extern const KVMCapabilityInfo kvm_arch_required_capabilities[]; void kvm_arch_pre_run(CPUState *cpu, struct kvm_run *run); -void kvm_arch_post_run(CPUState *cpu, struct kvm_run *run); +MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct kvm_run *run); int kvm_arch_handle_exit(CPUState *cpu, struct kvm_run *run); |
