summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorRadim Krčmář2016-10-10 17:28:48 +0200
committerEduardo Habkost2016-10-17 19:44:49 +0200
commit2a138ec3af871cd42a982eb401f16dcb74cba8d3 (patch)
treec861b9f9dc822383ba6571df94f2a4d097eed6a6 /include/exec/memory.h
parentintel_iommu: reject broken EIM (diff)
downloadqemu-2a138ec3af871cd42a982eb401f16dcb74cba8d3.tar.gz
qemu-2a138ec3af871cd42a982eb401f16dcb74cba8d3.tar.xz
qemu-2a138ec3af871cd42a982eb401f16dcb74cba8d3.zip
target-i386/kvm: cache the return value of kvm_enable_x2apic()
Assume that KVM would have returned the same on subsequent runs. Abstract the memoizaiton pattern into macros and call it memorize as adding the r makes it less obscure. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions