Andreas Färber | ce008c1 | 2012-03-04 21:32:36 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Stubs for QEMU user emulation |
| 3 | * |
| 4 | * Copyright (c) 2012 SUSE LINUX Products GmbH |
| 5 | * |
| 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. |
| 10 | * |
| 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. |
| 15 | * |
| 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> |
| 19 | */ |
| 20 | |
| 21 | #include "qemu-common.h" |
| 22 | #include "monitor.h" |
| 23 | |
| 24 | Monitor *cur_mon; |
| 25 | |
| 26 | int monitor_cur_is_qmp(void) |
| 27 | { |
| 28 | return 0; |
| 29 | } |
| 30 | |
| 31 | void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) |
| 32 | { |
| 33 | } |
| 34 | |
| 35 | void monitor_set_error(Monitor *mon, QError *qerror) |
| 36 | { |
| 37 | } |
Corey Bryant | adb696f | 2012-08-14 16:43:47 -0400 | [diff] [blame] | 38 | |
| 39 | int monitor_fdset_get_fd(int64_t fdset_id, int flags) |
| 40 | { |
| 41 | return -1; |
| 42 | } |
| 43 | |
| 44 | int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd) |
| 45 | { |
| 46 | return -1; |
| 47 | } |
| 48 | |
| 49 | int monitor_fdset_dup_fd_remove(int dup_fd) |
| 50 | { |
| 51 | return -1; |
| 52 | } |
| 53 | |
| 54 | int monitor_fdset_dup_fd_find(int dup_fd) |
| 55 | { |
| 56 | return -1; |
| 57 | } |