[Qemu-devel] [PATCH] Add save/load/del[vm] QMP api

2018-05-22 Thread Pavel Balaev
Hello, Now savevm, loadvm and delvm commands only allowed from hmp monitor. This patch adds ability to send them via QMP api. Signed-off-by: Pavel Balaev --- hmp.c | 22 +- migration/savevm.c | 27 +++ qapi/misc.json | 54

[Qemu-devel] [PATCH v2] Delete AF_UNIX socket after close

2018-05-21 Thread Pavel Balaev
This is a second attempt at sending this patch: http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg04697.html Signed-off-by: Pavel Balaev --- io/channel-socket.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/io/channel-socket.c b/io/channel

[Qemu-devel] [PATCH] Delete AF_UNIX socket after close

2018-05-21 Thread Pavel Balaev
Hello, Since version 2.12.0 AF_UNIX socket created for QMP exchange is not deleted on instance shutdown. This is due to the fact that function qio_channel_socket_finalize() is called after qio_channel_socket_close(). Signed-off-by: Pavel Balaev --- include/qemu/sockets.h | 1 - io/channel