mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
* src/libvir.c src/libvir_sym.version src/xen_internal.[ch] include/libvir.h: implementing hypervisor Version and Type interfaces * src/virsh.c: adding a version command, WIP Daniel
34 lines
745 B
C
34 lines
745 B
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 xenHypervisorGetDomainInfo (int handle,
|
|
int domain,
|
|
dom0_getdomaininfo_t *info);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __VIR_XEN_INTERNAL_H__ */
|