Re: [Qemu-devel] [PATCH v8 08/11] tests: extend qmp test with preconfig checks

2018-05-17 Thread Eric Blake
On 05/17/2018 06:28 AM, Igor Mammedov wrote: Add permission checks for commands at 'preconfig' stage. Signed-off-by: Igor Mammedov --- v8: * there isn't QDECREF anymore use qobject_unref instead * add negative test for exit-preconfig Reviewed-by: Eric Blake -- Eric Blake, Principal So

[Qemu-devel] [PATCH v8 08/11] tests: extend qmp test with preconfig checks

2018-05-17 Thread Igor Mammedov
Add permission checks for commands at 'preconfig' stage. Signed-off-by: Igor Mammedov --- v8: * there isn't QDECREF anymore use qobject_unref instead * add negative test for exit-preconfig v6: * replace 'cont' with 'exit-preconfig' command v5: * s/-preconfig/--preconfig/ v4: * s/is_err(