x86/cpuid: Fix crash on -cpu ""
commit04c5b17a74c9d6c309181079f8949665b43b0164
authorMarkus Armbruster <armbru@redhat.com>
Tue, 8 Nov 2011 14:36:50 +0000 (8 15:36 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 10 Nov 2011 12:29:50 +0000 (10 12:29 +0000)
tree787909f87c1fdef9888d3de8f322af51d300e879
parent99e1dec06f343cefecae9baeec0aae2f99f552d5
x86/cpuid: Fix crash on -cpu ""

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
target-i386/cpuid.c