Re: [Qemu-devel] [PATCH qom-cpu 1/4] target-i386: Inline -cpu host check into cpu_x86_register()

2012-12-10 Thread Eduardo Habkost
On Tue, Dec 11, 2012 at 12:21:10AM +0100, Andreas Färber wrote: > Am 10.12.2012 19:55, schrieb Igor Mammedov: > > On Mon, 10 Dec 2012 10:46:13 -0200 > > Eduardo Habkost wrote: > > > >> On Sun, Dec 09, 2012 at 08:45:50PM +0100, Andreas Färber wrote: > >>> Simplifies the upcoming cleanup of cpu_x86

Re: [Qemu-devel] [PATCH qom-cpu 1/4] target-i386: Inline -cpu host check into cpu_x86_register()

2012-12-10 Thread Andreas Färber
Am 10.12.2012 19:55, schrieb Igor Mammedov: > On Mon, 10 Dec 2012 10:46:13 -0200 > Eduardo Habkost wrote: > >> On Sun, Dec 09, 2012 at 08:45:50PM +0100, Andreas Färber wrote: >>> Simplifies the upcoming cleanup of cpu_x86_find_by_name(). >> >> ...by making cpu_x86_register() more complicated, and

Re: [Qemu-devel] [PATCH qom-cpu 1/4] target-i386: Inline -cpu host check into cpu_x86_register()

2012-12-10 Thread Igor Mammedov
On Mon, 10 Dec 2012 10:46:13 -0200 Eduardo Habkost wrote: > On Sun, Dec 09, 2012 at 08:45:50PM +0100, Andreas Färber wrote: > > Simplifies the upcoming cleanup of cpu_x86_find_by_name(). > > ...by making cpu_x86_register() more complicated, and having CPU model > name lookup spread into differen

Re: [Qemu-devel] [PATCH qom-cpu 1/4] target-i386: Inline -cpu host check into cpu_x86_register()

2012-12-10 Thread Eduardo Habkost
On Sun, Dec 09, 2012 at 08:45:50PM +0100, Andreas Färber wrote: > Simplifies the upcoming cleanup of cpu_x86_find_by_name(). ...by making cpu_x86_register() more complicated, and having CPU model name lookup spread into different parts of the code. The CPU model lookup is a bit complex because of

[Qemu-devel] [PATCH qom-cpu 1/4] target-i386: Inline -cpu host check into cpu_x86_register()

2012-12-09 Thread Andreas Färber
Simplifies the upcoming cleanup of cpu_x86_find_by_name(). Signed-off-by: Andreas Färber --- target-i386/cpu.c | 12 +++- 1 Datei geändert, 7 Zeilen hinzugefügt(+), 5 Zeilen entfernt(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 7be3ad8..a46faa2 100644 --- a/target-i386/