Re: [Qemu-devel] [PATCH v7 09/11] qemu.py: launch vm only if it's not running

2017-08-22 Thread Fam Zheng
On Fri, 08/18 19:05, 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 v7 09/11] qemu.py: launch vm only if it's not running

2017-08-18 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