i386: kvm: kvm_arch_get_supported_cpuid: clean up has_kvm_features check
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 4 Oct 2012 20:48:54 +0000 (17:48 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 31 Oct 2012 01:39:46 +0000 (23:39 -0200)
commit8c723b7958127b8f204dd4b278ad3c8f6f48ae17
tree0f91375fbc78b3674ceddde366a76b60e46fe8bc
parent7b46e5ce81d5107927685e7645b1bd39a1e1cd63
i386: kvm: kvm_arch_get_supported_cpuid: clean up has_kvm_features check

Instead of a function-specific has_kvm_features variable, simply use a
"found" variable that will be checked in case we have to use the legacy
get_para_features() interface.

No behavior change, just code cleanup.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/kvm.c