Re: [Qemu-devel] [PATCH v8 12/13] qemu.py: launch vm only if it's not running

2017-09-04 Thread Fam Zheng
On Fri, 09/01 13:28, Amador Pahim wrote: > A new call to launch() with a running VM will fall in exception and > consequently call shutdown(). > > This patch makes launch() to raise an exception when it's called with VM > already running. > > Signed-off-by: Amador Pahim > --- > scripts/qemu.py

[Qemu-devel] [PATCH v8 12/13] qemu.py: launch vm only if it's not running

2017-09-01 Thread Amador Pahim
A new call to launch() with a running VM will fall in exception and consequently call shutdown(). This patch makes launch() to raise an exception when it's called with VM already running. Signed-off-by: Amador Pahim --- scripts/qemu.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scri