Re: [Qemu-devel] [QEMU 1.1 PATCH v3] Expose CPUID leaf 7 only for -cpu host

2012-05-29 Thread Anthony Liguori
On 05/21/2012 10:27 PM, Eduardo Habkost wrote: Changes v2 -> v3; - Check for kvm_enabled() before setting cpuid_7_0_ebx_features Changes v1 -> v2: - Use kvm_arch_get_supported_cpuid() instead of host_cpuid() on cpu_x86_fill_host(). We should use GET_SUPPORTED_CPUID for all bits

Re: [QEMU 1.1 PATCH v3] Expose CPUID leaf 7 only for -cpu host

2012-05-24 Thread Gleb Natapov
On Mon, May 21, 2012 at 11:27:02AM -0300, Eduardo Habkost wrote: > Changes v2 -> v3; > - Check for kvm_enabled() before setting cpuid_7_0_ebx_features > > Changes v1 -> v2: > - Use kvm_arch_get_supported_cpuid() instead of host_cpuid() on > cpu_x86_fill_host(). > > We should use GET_SUP

[QEMU 1.1 PATCH v3] Expose CPUID leaf 7 only for -cpu host

2012-05-21 Thread Eduardo Habkost
Changes v2 -> v3; - Check for kvm_enabled() before setting cpuid_7_0_ebx_features Changes v1 -> v2: - Use kvm_arch_get_supported_cpuid() instead of host_cpuid() on cpu_x86_fill_host(). We should use GET_SUPPORTED_CPUID for all bits on "-cpu host" eventually, but I am not changing all