]>
git.proxmox.com Git - qemu.git/blob - qmp.c
2 * QEMU Management Protocol
4 * Copyright IBM, Corp. 2011
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #include "qemu-common.h"
16 #include "qmp-commands.h"
18 NameInfo
*qmp_query_name(Error
**errp
)
20 NameInfo
*info
= g_malloc0(sizeof(*info
));
23 info
->has_name
= true;
24 info
->name
= g_strdup(qemu_name
);