Re: [Qemu-devel] [PATCH] iotests.py: rework log and qmp_log

2018-12-20 Thread Vladimir Sementsov-Ogievskiy
ignore it, the work continues in John's series "bitmaps: remove x- prefix from QMP api" -- Best regards, Vladimir

[Qemu-devel] [PATCH] iotests.py: rework log and qmp_log

2018-12-17 Thread Vladimir Sementsov-Ogievskiy
There are several problems to be solved: 1. log() may try to apply filters (which should be str -> str functions) to objects, which is not correct. Let's instead do json.dumps first and then apply filters. 2. Let's drop trailing whitespaces, if there are any. Hopefully, now only two test