Re: [libvirt] [PATCH v6 1/3] target-i386: Move warning code outside x86_cpu_filter_features()

2016-10-10 Thread Eduardo Habkost
On Mon, Oct 10, 2016 at 01:57:08PM +0200, Igor Mammedov wrote: > On Fri, 7 Oct 2016 17:29:00 -0300 > Eduardo Habkost wrote: > > > x86_cpu_filter_features() will be reused by code that shouldn't > > print any warning. Move the warning code to a new > >

Re: [libvirt] [PATCH v6 1/3] target-i386: Move warning code outside x86_cpu_filter_features()

2016-10-10 Thread Igor Mammedov
On Fri, 7 Oct 2016 17:29:00 -0300 Eduardo Habkost wrote: > x86_cpu_filter_features() will be reused by code that shouldn't > print any warning. Move the warning code to a new > x86_cpu_report_filtered_features() function, and call it from > x86_cpu_realizefn(). > >

[libvirt] [PATCH v6 1/3] target-i386: Move warning code outside x86_cpu_filter_features()

2016-10-07 Thread Eduardo Habkost
x86_cpu_filter_features() will be reused by code that shouldn't print any warning. Move the warning code to a new x86_cpu_report_filtered_features() function, and call it from x86_cpu_realizefn(). Signed-off-by: Eduardo Habkost --- Changes v5 -> v6: * Recovered v3 of patch,