linux-user: fix multi-threaded /proc/self/maps
[qemu/agraf.git] / qemu-user.c
blob13fb9ae77befd72c49d653943568db42bd533f96
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)
39 int monitor_fdset_get_fd(int64_t fdset_id, int flags)
41 return -1;
44 int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd)
46 return -1;
49 int monitor_fdset_dup_fd_remove(int dup_fd)
51 return -1;
54 int monitor_fdset_dup_fd_find(int dup_fd)
56 return -1;