1 /******************************************************************************
2  * This library is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU Lesser General Public
4  * License as published by the Free Software Foundation;
5  * version 2.1 of the License.
6  *
7  * This library is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10  * Lesser General Public License for more details.
11  *
12  * You should have received a copy of the GNU Lesser General Public
13  * License along with this library; If not, see <http://www.gnu.org/licenses/>.
14  *
15  * Copyright (c) 2011, Citrix Systems
16  */
17 
18 #include <inttypes.h>
19 #include <errno.h>
20 #include <xenctrl.h>
21 #include <xenguest.h>
22 
xc_domain_save(xc_interface * xch,int io_fd,uint32_t dom,uint32_t flags,struct save_callbacks * callbacks,int hvm,xc_migration_stream_t stream_type,int recv_fd)23 int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom, uint32_t flags,
24                    struct save_callbacks* callbacks, int hvm,
25                    xc_migration_stream_t stream_type, int recv_fd)
26 {
27     errno = ENOSYS;
28     return -1;
29 }
30 
xc_domain_restore(xc_interface * xch,int io_fd,uint32_t dom,unsigned int store_evtchn,unsigned long * store_mfn,uint32_t store_domid,unsigned int console_evtchn,unsigned long * console_mfn,uint32_t console_domid,unsigned int hvm,unsigned int pae,xc_migration_stream_t stream_type,struct restore_callbacks * callbacks,int send_back_fd)31 int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
32                       unsigned int store_evtchn, unsigned long *store_mfn,
33                       uint32_t store_domid, unsigned int console_evtchn,
34                       unsigned long *console_mfn, uint32_t console_domid,
35                       unsigned int hvm, unsigned int pae,
36                       xc_migration_stream_t stream_type,
37                       struct restore_callbacks *callbacks, int send_back_fd)
38 {
39     errno = ENOSYS;
40     return -1;
41 }
42 
43 /*
44  * Local variables:
45  * mode: C
46  * c-file-style: "BSD"
47  * c-basic-offset: 4
48  * tab-width: 4
49  * indent-tabs-mode: nil
50  * End:
51  */
52