Re: [Qemu-devel] [PATCH 4/8] target-i386: kvm_cpu_fill_host(): No need to check xlevel2

2014-01-20 Thread Andreas Färber
Am 24.11.2013 20:55, schrieb Eduardo Habkost: > There's no need to check CPU xlevel2 before calling > kvm_arch_get_supported_cpuid(s, 0xC001, 0, R_EDX), because: > > * The kernel won't return any entry for 0xC000 if host CPU vendor >is not Centaur (See kvm_dev_ioctl_get_supported_cpui

[Qemu-devel] [PATCH 4/8] target-i386: kvm_cpu_fill_host(): No need to check xlevel2

2013-11-24 Thread Eduardo Habkost
There's no need to check CPU xlevel2 before calling kvm_arch_get_supported_cpuid(s, 0xC001, 0, R_EDX), because: * The kernel won't return any entry for 0xC000 if host CPU vendor is not Centaur (See kvm_dev_ioctl_get_supported_cpuid() on the kernel code) * Similarly, the kernel won'