target-i386: Fix x86_cpuid_set_model_id()
commit4ed5f5ea4598fd4ceb44b205ba051173db08adf9
authorAndreas Färber <afaerber@suse.de>
Tue, 24 Apr 2012 14:22:31 +0000 (24 16:22 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 26 Apr 2012 18:14:57 +0000 (26 13:14 -0500)
tree44ca5f56e3f5ff5b2266071d2721f452d8dc0e00
parentea7697fcd6edda2e0e54a02653e045003970bfbe
target-i386: Fix x86_cpuid_set_model_id()

Don't assume zeroed cpuid_model[] fields.

This didn't break anything yet but QOM properties should be able to set
the value to something else without setting an intermediate zero string.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpu.c