Re: [Qemu-devel] [PATCH v3] hw/unicore32: remove wrong assertion in puv machine init

2017-03-30 Thread Marcel Apfelbaum
On 03/30/2017 07:17 PM, Suramya Shah wrote: Signed-off-by: Suramya Shah Hi, Running QEMU with qemu-system-unicore32 without the kernel parameter results in an assertion error. Assert should not be used to check user provided parameters. Report an error and exit instead Put the "Signed-

[Qemu-devel] [PATCH v3] hw/unicore32: remove wrong assertion in puv machine init

2017-03-30 Thread Suramya Shah
Signed-off-by: Suramya Shah Running QEMU with qemu-system-unicore32 without the kernel parameter results in an assertion error. Assert should not be used to check user provided parameters. Report an error and exit instead --- hw/unicore32/puv3.c | 7 +-- 1 file changed, 5 insertions(+), 2