spice: move qemu_spice_init() to QemuSpiceOps.
[qemu/ar7.git] / ui / spice-module.c
bloba30fa452ea931b6f3e85789cd44579923a4bce60
1 /*
2 * spice module support, also spice stubs.
4 * Copyright (C) 2010 Red Hat, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 or
9 * (at your option) version 3 of the License.
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 <http://www.gnu.org/licenses/>.
20 #include "qemu/osdep.h"
21 #include "ui/qemu-spice-module.h"
23 int using_spice;
25 static void qemu_spice_init_stub(void)
29 static int qemu_spice_migrate_info_stub(const char *h, int p, int t,
30 const char *s)
32 return -1;
35 struct QemuSpiceOps qemu_spice = {
36 .init = qemu_spice_init_stub,
37 .migrate_info = qemu_spice_migrate_info_stub,