mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
* include/libvirt.h include/libvirt.h.in: added intialization function * include/virterror.h src/virterror.c: one more error code * src/internal.h: first part of Jim's format checking * src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch] src/xs_internal.[ch]: initialization and registration of drivers Daniel
40 lines
1.1 KiB
C
40 lines
1.1 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 dom0_getdomaininfo_t and DOM0_INTERFACE_VERSION */
|
|
#include <xen/dom0_ops.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void xenHypervisorRegister (void);
|
|
int xenHypervisorOpen (virConnectPtr conn,
|
|
const char *name,
|
|
int flags);
|
|
int xenHypervisorClose (virConnectPtr conn);
|
|
int xenHypervisorGetVersion (virConnectPtr conn,
|
|
unsigned long *hvVer);
|
|
int xenHypervisorDestroyDomain (virDomainPtr domain);
|
|
int xenHypervisorResumeDomain (virDomainPtr domain);
|
|
int xenHypervisorPauseDomain (virDomainPtr domain);
|
|
int xenHypervisorGetDomainInfo (virDomainPtr domain,
|
|
virDomainInfoPtr info);
|
|
int xenHypervisorSetMaxMemory (virDomainPtr domain,
|
|
unsigned long memory);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __VIR_XEN_INTERNAL_H__ */
|