summaryrefslogtreecommitdiff
path: root/target-i386/kvm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-08 14:52:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:10:00 +0200
commitf794aa4a2fd772a3ec413c4e478cc23857cfee98 (patch)
tree35eb5468b986e68f1d35384a25ae16fc65a3f47e /target-i386/kvm.c
parentd7a0f71d9aac33e58d39fdbe4861d440af44fa8b (diff)
downloadqemu-f794aa4a2fd772a3ec413c4e478cc23857cfee98.tar.gz
qemu-f794aa4a2fd772a3ec413c4e478cc23857cfee98.tar.bz2
qemu-f794aa4a2fd772a3ec413c4e478cc23857cfee98.zip
target-i386: introduce cpu_get_mem_attrs
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/kvm.c')
-rw-r--r--target-i386/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index ca2da84501..5a236e3103 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -2259,7 +2259,7 @@ MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct kvm_run *run)
}
cpu_set_apic_tpr(x86_cpu->apic_state, run->cr8);
cpu_set_apic_base(x86_cpu->apic_state, run->apic_base);
- return MEMTXATTRS_UNSPECIFIED;
+ return cpu_get_mem_attrs(env);
}
int kvm_arch_process_async_events(CPUState *cs)