]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Simplify reporting of unavailable features
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 30 Apr 2014 16:48:29 +0000 (13:48 -0300)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Jun 2014 16:04:15 +0000 (18:04 +0200)
commit857aee337c22dc6c56304146e938efacaf587e1c
tree8ddd935c337bf0823e479356a65e9672da898d4d
parent136a7e9a85d7047461f8153f7d12c514a3d68f69
target-i386: Simplify reporting of unavailable features

Instead of checking and calling unavailable_host_feature() once for each
bit, simply call the function (now renamed to
report_unavailable_features()) once for each feature word.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
[AF: Drop unused return value]
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c