]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: refactor KVM cpuid code so that it applies to hvf as well
authorSergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
Wed, 13 Sep 2017 09:05:19 +0000 (04:05 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Dec 2017 14:01:48 +0000 (15:01 +0100)
commitd6dcc5583e7a3f04a76de72424ee63c760dffd0f
tree0b537d3c771a71b4f782f81fb02c99446f3eecd4
parentdb5cb9a0320d74b817d3e58f54206cea36529572
i386: refactor KVM cpuid code so that it applies to hvf as well

This patch generalizes some code in cpu.c for hypervisor-based
accelerators, calling the new hvf_get_supported_cpuid where
KVM used kvm_get_supported_cpuid.

Signed-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
Message-Id: <20170913090522.4022-12-Sergio.G.DelReal@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu-qom.h
target/i386/cpu.c