]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Move warning code outside x86_cpu_filter_features()
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 4 May 2016 17:50:46 +0000 (14:50 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (15:44 -0200)
commit8ca30e8673aff9bfcf8f969f8db4266b5f62e49c
treefa57af52dcd975fe00528c4b5e3f89cac81e6927
parent9504e7100b74ae688601ec2c990bb80a47f263e3
target-i386: Move warning code outside x86_cpu_filter_features()

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().

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c