aboutsummaryrefslogtreecommitdiff
path: root/trace/control-internal.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 14:43:18 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-07 13:32:37 +0200
commit9926cf34de5fa15da1d58e809692b5c7ccf72ec5 (patch)
treeb095d3f4b12f79508c9cbd1f472cc70cea109540 /trace/control-internal.h
parent3adce820cf9c454b49cabf52b829001ecb98500e (diff)
downloadqemu-9926cf34de5fa15da1d58e809692b5c7ccf72ec5.zip
qemu-9926cf34de5fa15da1d58e809692b5c7ccf72ec5.tar.gz
qemu-9926cf34de5fa15da1d58e809692b5c7ccf72ec5.tar.bz2
target/i386: Allow elision of kvm_enable_x2apic()
Call kvm_enabled() before kvm_enable_x2apic() to let the compiler elide its call. Cleanup the code by simplifying "!xen_enabled() && kvm_enabled()" to just "kvm_enabled()". Suggested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20230904124325.79040-8-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'trace/control-internal.h')
0 files changed, 0 insertions, 0 deletions