Re: [Qemu-devel] [PATCH] i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

2011-11-10 Thread Avi Kivity
On 11/09/2011 08:21 PM, Sasha Levin wrote: On Wed, 2011-11-09 at 20:00 +0200, Avi Kivity wrote: On 11/09/2011 07:56 PM, Anthony Liguori wrote: On 11/09/2011 07:44 AM, Avi Kivity wrote: The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it,

Re: [Qemu-devel] [PATCH] i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

2011-11-09 Thread Anthony Liguori
On 11/09/2011 07:44 AM, Avi Kivity wrote: The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it, yet -cpuid host brings host features wholesale. We need to whitelist each feature separately to make sure we support it. This patch adds KVM whitelisting

Re: [Qemu-devel] [PATCH] i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

2011-11-09 Thread Avi Kivity
On 11/09/2011 07:56 PM, Anthony Liguori wrote: On 11/09/2011 07:44 AM, Avi Kivity wrote: The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it, yet -cpuid host brings host features wholesale. We need to whitelist each feature separately to make sure

Re: [Qemu-devel] [PATCH] i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

2011-11-09 Thread Sasha Levin
On Wed, 2011-11-09 at 20:00 +0200, Avi Kivity wrote: On 11/09/2011 07:56 PM, Anthony Liguori wrote: On 11/09/2011 07:44 AM, Avi Kivity wrote: The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it, yet -cpuid host brings host features wholesale.

Re: [Qemu-devel] [PATCH] i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID

2011-11-09 Thread Anthony Liguori
On 11/09/2011 07:44 AM, Avi Kivity wrote: The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it, yet -cpuid host brings host features wholesale. We need to whitelist each feature separately to make sure we support it. This patch adds KVM whitelisting