Re: [PATCH v2 03/29] python/qemu: Add binutils::binary_get_version()

2020-02-06 Thread Philippe Mathieu-Daudé
On 2/3/20 8:17 PM, Wainer dos Santos Moschetta wrote: On 1/29/20 7:23 PM, Philippe Mathieu-Daudé wrote: Add a helper to query the version of a QEMU binary. We simply send the 'query-version' command over a QMP socket. Introduce the PythonQemuCoreScripts class to test our new helper. Signed-off

Re: [PATCH v2 03/29] python/qemu: Add binutils::binary_get_version()

2020-02-03 Thread Wainer dos Santos Moschetta
On 1/29/20 7:23 PM, Philippe Mathieu-Daudé wrote: Add a helper to query the version of a QEMU binary. We simply send the 'query-version' command over a QMP socket. Introduce the PythonQemuCoreScripts class to test our new helper. Signed-off-by: Philippe Mathieu-Daudé --- python/qemu/binutil

[PATCH v2 03/29] python/qemu: Add binutils::binary_get_version()

2020-01-29 Thread Philippe Mathieu-Daudé
Add a helper to query the version of a QEMU binary. We simply send the 'query-version' command over a QMP socket. Introduce the PythonQemuCoreScripts class to test our new helper. Signed-off-by: Philippe Mathieu-Daudé --- python/qemu/binutils.py | 38 te