]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386: kvm: kvm_arch_get_supported_cpuid: replace if+switch with single 'if'
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 4 Oct 2012 20:48:59 +0000 (17:48 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 31 Oct 2012 01:39:47 +0000 (23:39 -0200)
commitc2acb022c83fbaf7fdd7ab9538d44ae6e0e94f94
treec7f34ff54c629bf60faa2c71639939bc3f961aec
parentdd87f8a690330777363f9a8680fce8f2ec544414
i386: kvm: kvm_arch_get_supported_cpuid: replace if+switch with single 'if'

Additional fixups will be added, and making them a single 'if/else if'
chain makes it clearer than two nested switch statements.

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