docs: writing-qmp-commands.txt: update error section
[qemu/opensuse.git] / qemu-user.c
blob08ccb0fe8e0b5dd44d6ea6ab7e64890bea74fdaf
1 /*
2 * Stubs for QEMU user emulation
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see
18 * <http://www.gnu.org/licenses/gpl-2.0.html>
21 #include "qemu-common.h"
22 #include "monitor.h"
24 Monitor *cur_mon;
26 int monitor_cur_is_qmp(void)
28 return 0;
31 void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
35 void monitor_set_error(Monitor *mon, QError *qerror)