Revision 4bfe910d
ID | 4bfe910d4728807e7d80de152a7ef33dd608033f |
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 <afaerber@suse.de>
Files
- added
- modified
- copied
- renamed
- deleted