« Previous | Next » 

Revision 4bfe910d

ID4bfe910d4728807e7d80de152a7ef33dd608033f

Added by Andreas Färber about 11 years ago

target-i386: Simplify cpu_x86_find_by_name()

Catch NULL name argument early to avoid repeated checks.
Similarly, check for -cpu host early and untangle from iterating through
model definitions. This prepares for introducing X86CPU subclasses.

Signed-off-by: Andreas Färber <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences