OSDN Git Service

python/qemu: accel: Add list_accel() method
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Mon, 16 Dec 2019 19:14:35 +0000 (16:14 -0300)
committerCleber Rosa <crosa@redhat.com>
Mon, 16 Dec 2019 23:31:32 +0000 (18:31 -0500)
commit1650c3e3043ac7e8f16bdfb746430a106e49c18f
treecab67866d0393421781b7b40945597af82d23c27
parent8b272e001868581736144dbedca41aa8bbe82019
python/qemu: accel: Add list_accel() method

Since commit cbe6d6365a48 the command `qemu -accel help` returns
the list of accelerators enabled in the QEMU binary. This adds
the list_accel() method which return that same list.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20191216191438.93418-3-wainersm@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
python/qemu/accel.py