diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-28 10:23:18 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-11 16:33:49 +0100 |
| commit | 840159e48c365ca1405e513cc95099bf4f35ad9f (patch) | |
| tree | 2b34cdc95a12110979ea757af62a0c0d7ec2aa08 /scripts/qemu-gdb.py | |
| parent | fd73745d1bc69a10a2a42e7a5fbbc5f2da2fb381 (diff) | |
| download | focaccia-qemu-840159e48c365ca1405e513cc95099bf4f35ad9f.tar.gz focaccia-qemu-840159e48c365ca1405e513cc95099bf4f35ad9f.zip | |
target-i386: add kvm stubs to user-mode emulators
The CPUID code will call kvm_arch_get_supported_cpuid() and, even though it is undef kvm_enabled() so it never runs for user-mode emulators, sometimes clang will not optimize it out at -O0. That could be considered a compiler bug, however at -O0 we give it a pass and just add the stubs. Reported-by: Kamil Rytarowski <n54@gmx.com> Tested-by: Kamil Rytarowski <n54@gmx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions