mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
being ignored by xend/xc_linux_save. Signed-off-by: Steven Hand <steven@xensource.com>
34 lines
744 B
C
34 lines
744 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General
|
|
* Public License. See the file "COPYING" in the main directory of
|
|
* this archive for more details.
|
|
*
|
|
* Copyright (C) 2005 by Christian Limpach
|
|
*
|
|
*/
|
|
|
|
#include <err.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
|
|
#include <xenguest.h>
|
|
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
unsigned int xc_fd, io_fd, domid, maxit, max_f, flags;
|
|
|
|
if (argc != 7)
|
|
errx(1, "usage: %s xcfd iofd domid maxit maxf flags", argv[0]);
|
|
|
|
xc_fd = atoi(argv[1]);
|
|
io_fd = atoi(argv[2]);
|
|
domid = atoi(argv[3]);
|
|
maxit = atoi(argv[4]);
|
|
max_f = atoi(argv[5]);
|
|
flags = atoi(argv[6]);
|
|
|
|
return xc_linux_save(xc_fd, io_fd, domid, maxit, max_f, flags);
|
|
}
|