mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
a8d7d679cc
API implementation, only CreateLinux is now missing. Daniel
43 lines
1.0 KiB
C
43 lines
1.0 KiB
C
/*
|
|
* xen_internal.h: internal API for direct access to Xen hypervisor level
|
|
*
|
|
* Copyright (C) 2005 Red Hat, Inc.
|
|
*
|
|
* See COPYING.LIB for the License of this software
|
|
*
|
|
* Daniel Veillard <veillard@redhat.com>
|
|
*/
|
|
|
|
#ifndef __VIR_XEN_INTERNAL_H__
|
|
#define __VIR_XEN_INTERNAL_H__
|
|
|
|
/* required for uint8_t, uint32_t, etc ... */
|
|
#include <stdint.h>
|
|
/* required for dom0_getdomaininfo_t */
|
|
#include <xen/dom0_ops.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int xenHypervisorOpen (void);
|
|
int xenHypervisorClose (int handle);
|
|
unsigned long xenHypervisorGetVersion (int handle);
|
|
int xenHypervisorDestroyDomain (int handle,
|
|
int domain);
|
|
int xenHypervisorResumeDomain (int handle,
|
|
int domain);
|
|
int xenHypervisorPauseDomain (int handle,
|
|
int domain);
|
|
int xenHypervisorGetDomainInfo (int handle,
|
|
int domain,
|
|
dom0_getdomaininfo_t *info);
|
|
int xenHypervisorSetMaxMemory (int handle,
|
|
int domain,
|
|
unsigned long memory);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __VIR_XEN_INTERNAL_H__ */
|