Re: [Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-18 Thread Eduardo Habkost
On Thu, Apr 18, 2019 at 12:45:01AM -0300, Eduardo Habkost wrote: > Fix the following crash: > > $ qemu-system-x86_64 -cpu '' > qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \ > Assertion `cpu_model && cc->class_by_name' failed. > > Regression test script included. > > Fixes: co

Re: [Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-18 Thread Igor Mammedov
On Thu, 18 Apr 2019 10:23:29 -0300 Eduardo Habkost wrote: > On Thu, Apr 18, 2019 at 01:22:16PM +0200, Igor Mammedov wrote: > > On Thu, 18 Apr 2019 00:45:01 -0300 > > Eduardo Habkost wrote: > > > > > Fix the following crash: > > > > > > $ qemu-system-x86_64 -cpu '' > > > qemu-system-x86_6

Re: [Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-18 Thread Eduardo Habkost
On Thu, Apr 18, 2019 at 01:22:16PM +0200, Igor Mammedov wrote: > On Thu, 18 Apr 2019 00:45:01 -0300 > Eduardo Habkost wrote: > > > Fix the following crash: > > > > $ qemu-system-x86_64 -cpu '' > > qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \ > > Assertion `cpu_model && cc->c

Re: [Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-18 Thread Igor Mammedov
On Thu, 18 Apr 2019 00:45:01 -0300 Eduardo Habkost wrote: > Fix the following crash: > > $ qemu-system-x86_64 -cpu '' > qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \ > Assertion `cpu_model && cc->class_by_name' failed. > > Regression test script included. > > Fixes: commit

Re: [Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-18 Thread Stefano Garzarella
On Thu, Apr 18, 2019 at 12:45:01AM -0300, Eduardo Habkost wrote: > Fix the following crash: > > $ qemu-system-x86_64 -cpu '' > qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \ > Assertion `cpu_model && cc->class_by_name' failed. > > Regression test script included. > > Fixes: co

[Qemu-devel] [PATCH] cpu: Fix crash with empty -cpu option

2019-04-17 Thread Eduardo Habkost
Fix the following crash: $ qemu-system-x86_64 -cpu '' qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \ Assertion `cpu_model && cc->class_by_name' failed. Regression test script included. Fixes: commit 99193d8f2ef5 ("cpu: drop unnecessary NULL check and cpu_common_class_by_name(