« Previous | Next » 

Revision d0a6acf4

IDd0a6acf456a2497ce9f70f8366a5b405745ba279

Added by Andreas Färber almost 12 years ago

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.

Reviewed-by: Eduardo Habhost <>
Reviewed-by: Igor Mammedov <>
[AF: Use memset() instead of for loop, suggested by Igor]
Signed-off-by: Andreas Färber <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences