From 66ab526b3fabc10f48b792b97098ca721fc84819 Mon Sep 17 00:00:00 2001
From: Daniel Veillard
virCopyLastError
-Letter D:
+
+Letter D:
+
+virDomainDetachDevice
virDomainGetVcpus
virDomainPinVcpu
@@ -76,7 +79,8 @@
Letter M:
Letter N:
-
+
+virDomainGetInfo
virDomainReboot
virDomainSetVcpus
virDomainShutdown
@@ -121,6 +125,7 @@
virConnectGetVersion
virConnectOpen
virConnectOpenReadOnly
+virDomainCoreDump
virDomainCreateLinux
virDomainDestroy
virDomainPinVcpu
@@ -149,10 +154,13 @@
Letter W:
-Letter X:
+Letter X:
+virDomainCreateLinux
virDomainDefineXML
+virDomainDetachDevice
virDomainGetXMLDesc
-
+
+virDomainGetVcpus
virDomainPinVcpu
virGetVersion
Letter a:
@@ -201,6 +209,7 @@
virDomainSetMaxMemory
virDomainSetMemory
+
virDomainGetMaxMemory
@@ -225,6 +234,8 @@
virDomainGetVcpus
virGetVersion
+
+virDomainDetachDevice
virConnectOpenReadOnly
diff --git a/docs/APIchunk1.html b/docs/APIchunk1.html
index 9b168150fb..0aafab8013 100644
--- a/docs/APIchunk1.html
+++ b/docs/APIchunk1.html
@@ -8,6 +8,8 @@
Letter b:
virDomainDestroy
virGetVersion
+
+virDomainDetachDevice
virDomainLookupByID
virDomainLookupByName
@@ -104,6 +106,7 @@
virConnCopyLastError
virCopyLastError
+virDomainCoreDump
@@ -124,6 +127,7 @@
virConnectOpenReadOnly
+virDomainCoreDump
Letter d:
virDomainDestroy
virDomainFree
@@ -137,10 +141,14 @@
virDomainCreate
virDomainUndefine
-
+
+virDomainCreateLinux
virDomainDefineXML
+virDomainDetachDevice
virDomainGetXMLDesc
+virDomainAttachDevice
+virDomainDetachDevice
virDomainSave
@@ -156,19 +164,24 @@
virDomainCreate
+
Letter e:
+virDomainCoreDump
virDomainReboot
virDomainGetInfo
Letter f:
-
+
+virDomainCoreDump
+virDomainCreateLinux
virDomainDestroy
+virDomainDetachDevice
virDomainFree
virDomainGetInfo
virDomainGetVcpus
@@ -188,18 +201,21 @@
virDomainSuspend
virGetVersion
virNodeGetInfo
-
+
+virDomainSave
virConnectOpenReadOnly
-
+
+virDomainGetXMLDesc
virDomainReboot
_virNodeInfo
virConnGetLastError
virConnectGetVersion
+virDomainCoreDump
virDomainDefineXML
virDomainGetID
virDomainGetName
diff --git a/docs/APIchunk2.html b/docs/APIchunk2.html
index 04c66cde17..0a1a8b7550 100644
--- a/docs/APIchunk2.html
+++ b/docs/APIchunk2.html
@@ -12,7 +12,8 @@
virDomainGetInfo
virDomainGetMaxMemory
virSetErrorFunc
-
+
+virDomainDestroy
virDomainLookupByName
virDomainLookupByUUID
virDomainLookupByUUIDString
@@ -30,6 +31,7 @@
+virDomainCoreDump
Letter i:
@@ -55,6 +57,7 @@
virDomainGetXMLDesc
+
virDomainLookupByName
@@ -156,7 +159,8 @@
virDomainSetMemory
virDomainSuspend
-
+
+virDomainRestore
virDomainSave
diff --git a/docs/APIchunk3.html b/docs/APIchunk3.html
index f1b99fbcc4..5e4cff27f8 100644
--- a/docs/APIchunk3.html
+++ b/docs/APIchunk3.html
@@ -5,37 +5,14 @@
g-n
o-s
t-z
-Letter o:
-virDomainDestroy
-virDomainFree
-virDomainGetID
-virDomainGetInfo
-virDomainGetMaxMemory
-virDomainGetName
-virDomainGetOSType
-virDomainGetUUID
-virDomainGetUUIDString
-virDomainGetVcpus
-virDomainGetXMLDesc
-virDomainLookupByID
-virDomainLookupByName
-virDomainLookupByUUID
-virDomainLookupByUUIDString
-virDomainPinVcpu
-virDomainReboot
-virDomainResume
-virDomainSave
-virDomainSetMaxMemory
-virDomainSetMemory
-virDomainSetVcpus
-virDomainShutdown
-virDomainSuspend
-
+Letter o:
virGetLastError
maplen
+virDomainAttachDevice
virDomainCreateLinux
+virDomainDetachDevice
virDomainGetVcpus
virDomainGetInfo
@@ -63,7 +40,8 @@
virConnectOpen
virConnectOpenReadOnly
-
+
+virDomainRestore
virDomainSave
@@ -117,6 +95,7 @@
virGetVersion
+
virDomainShutdown
@@ -238,8 +217,11 @@
+virDomainAttachDevice
+virDomainCoreDump
virDomainCreate
virDomainDestroy
+virDomainDetachDevice
virDomainFree
virDomainGetInfo
virDomainGetUUID
diff --git a/docs/APIchunk4.html b/docs/APIchunk4.html
index 1aaa27d398..f233b4ade0 100644
--- a/docs/APIchunk4.html
+++ b/docs/APIchunk4.html
@@ -13,6 +13,7 @@
virConnGetLastError
virConnResetLastError
+virDomainCoreDump
virDomainGetInfo
virDomainGetName
virDomainPinVcpu
@@ -59,6 +60,7 @@
virConnectOpenReadOnly
+virDomainCoreDump
VIR_UNUSE_CPU
VIR_USE_CPU
@@ -135,6 +137,8 @@
_virDomainInfo
_virVcpuInfo
vcpu
+virDomainAttachDevice
+virDomainDetachDevice
virDomainGetVcpus
virDomainPinVcpu
virDomainSetVcpus
@@ -162,6 +166,7 @@
virConnSetErrorFunc
virCopyLastError
+virDomainCoreDump
virDomainGetName
virDomainRestore
virDomainSave
diff --git a/docs/APIfiles.html b/docs/APIfiles.html
index 1eead3da94..d0cb108fba 100644
--- a/docs/APIfiles.html
+++ b/docs/APIfiles.html
@@ -44,11 +44,14 @@
virConnectPtr
virDeviceMode
virDomain
+virDomainAttachDevice
+virDomainCoreDump
virDomainCreate
virDomainCreateFlags
virDomainCreateLinux
virDomainDefineXML
virDomainDestroy
+virDomainDetachDevice
virDomainFree
virDomainGetID
virDomainGetInfo
diff --git a/docs/APIfunctions.html b/docs/APIfunctions.html
index 31019e17d5..9db433eae6 100644
--- a/docs/APIfunctions.html
+++ b/docs/APIfunctions.html
@@ -34,8 +34,11 @@
virDomainRestore
virNodeGetInfo
virDomainAttachDevice
+virDomainCoreDump
+virDomainCreate
virDomainDestroy
+virDomainDetachDevice
virDomainFree
virDomainGetID
virDomainGetInfo
diff --git a/docs/APIsymbols.html b/docs/APIsymbols.html
index ea9c241368..ff9a9ee7ff 100644
--- a/docs/APIsymbols.html
+++ b/docs/APIsymbols.html
@@ -100,11 +100,14 @@
virDefaultErrorFunc
virDeviceMode
virDomain
+virDomainAttachDevice
+virDomainCoreDump
virDomainCreate
virDomainCreateFlags
virDomainCreateLinux
virDomainDefineXML
virDomainDestroy
+virDomainDetachDevice
virDomainFree
virDomainGetID
virDomainGetInfo
diff --git a/docs/apibuild.py b/docs/apibuild.py
index 4feb42e641..c7b18487ab 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -31,6 +31,8 @@ ignored_files = {
"xen_internal.c": "internal code",
"xs_internal.h": "internal includes and defines",
"xs_internal.c": "internal code",
+ "xm_internal.h": "internal code",
+ "xm_internal.c": "internal code",
"sexpr.h": "internal includes and defines",
"sexpr.c": "internal code",
"xml.h": "internal includes and defines",
diff --git a/docs/devhelp/libvirt-libvirt.html b/docs/devhelp/libvirt-libvirt.html
index 0aab728ca0..ff90a02815 100644
--- a/docs/devhelp/libvirt-libvirt.html
+++ b/docs/devhelp/libvirt-libvirt.html
@@ -76,6 +76,7 @@ const char * virConnectGetType (virDomainSave (virDomainPtr domain,
const char * to);
int virDomainCreate (virDomainPtr domain);
int virConnectListDomains (virConnectPtr conn,
int * ids,
int maxids);
+int virDomainCoreDump (virDomainPtr domain,
const char * to,
int flags);
virDomainPtr virDomainLookupByUUID (virConnectPtr conn,
const unsigned char * uuid);
virDomainPtr virDomainLookupByUUIDString (virConnectPtr conn,
const char * uuidstr);
virDomainPtr virDomainLookupByID (virConnectPtr conn,
int id);
@@ -84,8 +85,8 @@ int virNodeGetInfo (virDomainGetUUID (virDomainPtr domain,
unsigned char * uuid);
int virConnectNumOfDomains (virConnectPtr conn);
int virDomainGetUUIDString (virDomainPtr domain,
char * buf);
-int virDomainGetVcpus (virDomainPtr domain,
virVcpuInfoPtr info,
int maxinfo,
unsigned char * cpumaps,
int maplen);
-int virConnectGetVersion (virConnectPtr conn,
unsigned long * hvVer);
+unsigned long virDomainGetMaxMemory (virDomainPtr domain);
+int virDomainAttachDevice (virDomainPtr domain,
char * xml);
int virDomainSetMaxMemory (virDomainPtr domain,
unsigned long memory);
int virDomainFree (virDomainPtr domain);
virConnectPtr virConnectOpen (const char * name);
@@ -100,8 +101,10 @@ int virDomainResume (virDomainPtr virDomainCreateLinux (virConnectPtr conn,
const char * xmlDesc,
unsigned int flags);
int virDomainSetMemory (virDomainPtr domain,
unsigned long memory);
int virDomainDestroy (virDomainPtr domain);
-unsigned long virDomainGetMaxMemory (virDomainPtr domain);
+int virDomainDetachDevice (virDomainPtr domain,
char * xml);
+int virDomainGetVcpus (virDomainPtr domain,
virVcpuInfoPtr info,
int maxinfo,
unsigned char * cpumaps,
int maplen);
char * virDomainGetXMLDesc (virDomainPtr domain,
int flags);
+int virConnectGetVersion (virConnectPtr conn,
unsigned long * hvVer);
const char * virDomainGetName (virDomainPtr domain);
virConnectPtr virConnectOpenReadOnly (const char * name);
@@ -300,6 +303,14 @@ The content of this structure is not made public by the API.
virConnectPtr virConnectOpenReadOnly (const char * name)
This function should be called first to get a restricted connection to the libbrary functionalities. The set of APIs usable are then restricted on the available methods to control the domains.
name: | optional argument currently unused, pass NULL |
Returns: | a pointer to the hypervisor connection or NULL in case of error |
int virDomainAttachDevice (virDomainPtr domain,
char * xml)
+
Create a virtual device attachment to backend.
+domain: | pointer to domain object |
xml: | pointer to XML description of one device |
Returns: | 0 in case of success, -1 in case of failure. |
int virDomainCoreDump (virDomainPtr domain,
const char * to,
int flags)
+
This method will dump the core of a domain on a given file for analysis. Note that for remote Xen Daemon the file path will be interpreted in the remote host.
+domain: | a domain object |
to: | path for the core file |
flags: | extra flags, currently unused |
Returns: | 0 in case of success and -1 in case of failure. |
int virDomainCreate (virDomainPtr domain)
launch a defined domain. If the call succeed the domain moves from the defined to the running domains pools.
@@ -316,6 +327,10 @@ The content of this structure is not made public by the API.int virDomainDestroy (virDomainPtr domain)
Destroy the domain object. The running instance is shutdown if not down already and all resources used by it are given back to the hypervisor. The data structure is freed and should not be used thereafter if the call does not return an error. This function may requires priviledged access
domain: | a domain object |
Returns: | 0 in case of success and -1 in case of failure. |
int virDomainDetachDevice (virDomainPtr domain,
char * xml)
+
Destroy a virtual device attachment to backend.
+domain: | pointer to domain object |
xml: | pointer to XML description of one device |
Returns: | 0 in case of success, -1 in case of failure. |
int virDomainFree (virDomainPtr domain)
Free the domain object. The running instance is kept alive. The data structure is freed and should not be used thereafter.
diff --git a/docs/html/libvirt-libvirt.html b/docs/html/libvirt-libvirt.html index 60c30eeb96..33525e611a 100644 --- a/docs/html/libvirt-libvirt.html +++ b/docs/html/libvirt-libvirt.html @@ -28,10 +28,13 @@ The content of this structure is not made public by the API.int virConnectNumOfDomains (virConnectPtr conn)
virConnectPtr virConnectOpen (const char * name)
virConnectPtr virConnectOpenReadOnly (const char * name)+
int virDomainAttachDevice (virDomainPtr domain,+
char * xml)
int virDomainCoreDump (virDomainPtr domain,
const char * to,
int flags)
int virDomainCreate (virDomainPtr domain)
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
const char * xmlDesc,
unsigned int flags)
virDomainPtr virDomainDefineXML (virConnectPtr conn,
const char * xml)
int virDomainDestroy (virDomainPtr domain)+
int virDomainDetachDevice (virDomainPtr domain,
char * xml)
int virDomainFree (virDomainPtr domain)
unsigned int virDomainGetID (virDomainPtr domain)
int virDomainGetInfo (virDomainPtr domain,@@ -155,7 +158,11 @@ The content of this structure is not made public by the API.
virDomainInfoPtr info)
This function should be called first to get a connection to the Hypervisor and xen store
name: | optional argument currently unused, pass NULL |
Returns: | a pointer to the hypervisor connection or NULL in case of error |
virConnectPtr virConnectOpenReadOnly (const char * name)
This function should be called first to get a restricted connection to the libbrary functionalities. The set of APIs usable are then restricted on the available methods to control the domains.
-name: | optional argument currently unused, pass NULL |
Returns: | a pointer to the hypervisor connection or NULL in case of error |
int virDomainCreate (virDomainPtr domain)
+
name: optional argument currently unused, pass NULL Returns: a pointer to the hypervisor connection or NULL in case of error Function: virDomainAttachDevice
int virDomainAttachDevice (virDomainPtr domain,
char * xml)
+Create a virtual device attachment to backend.
+
domain: pointer to domain object xml: pointer to XML description of one device Returns: 0 in case of success, -1 in case of failure. Function: virDomainCoreDump
int virDomainCoreDump (virDomainPtr domain,
const char * to,
int flags)
+This method will dump the core of a domain on a given file for analysis. Note that for remote Xen Daemon the file path will be interpreted in the remote host.
+
domain: a domain object to: path for the core file flags: extra flags, currently unused Returns: 0 in case of success and -1 in case of failure. Function: virDomainCreate
int virDomainCreate (virDomainPtr domain)
launch a defined domain. If the call succeed the domain moves from the defined to the running domains pools.
domain: pointer to a defined domain Returns: 0 in case of success, -1 in case of error Function: virDomainCreateLinux
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
const char * xmlDesc,
unsigned int flags)
Launch a new Linux guest domain, based on an XML description similar to the one returned by virDomainGetXMLDesc() This function may requires priviledged access to the hypervisor.
@@ -163,7 +170,9 @@ The content of this structure is not made public by the API.
define a domain, but does not start it
conn: | pointer to the hypervisor connection |
xml: | the XML description for the domain, preferably in UTF-8 |
Returns: | NULL in case of error, a pointer to the domain otherwise |
int virDomainDestroy (virDomainPtr domain)
Destroy the domain object. The running instance is shutdown if not down already and all resources used by it are given back to the hypervisor. The data structure is freed and should not be used thereafter if the call does not return an error. This function may requires priviledged access
-domain: | a domain object |
Returns: | 0 in case of success and -1 in case of failure. |
int virDomainFree (virDomainPtr domain)
+
domain: a domain object Returns: 0 in case of success and -1 in case of failure. Function: virDomainDetachDevice
int virDomainDetachDevice (virDomainPtr domain,
char * xml)
+Destroy a virtual device attachment to backend.
+
domain: pointer to domain object xml: pointer to XML description of one device Returns: 0 in case of success, -1 in case of failure. Function: virDomainFree
int virDomainFree (virDomainPtr domain)
Free the domain object. The running instance is kept alive. The data structure is freed and should not be used thereafter.
domain: a domain object Returns: 0 in case of success and -1 in case of failure. Function: virDomainGetID
unsigned int virDomainGetID (virDomainPtr domain)
Get the hypervisor ID number for the domain
diff --git a/docs/html/libvirt-virterror.html b/docs/html/libvirt-virterror.html index e813633d07..ca65bcf94e 100644 --- a/docs/html/libvirt-virterror.html +++ b/docs/html/libvirt-virterror.html @@ -84,6 +84,7 @@ void virErrorFunc (void * userData,
VIR_ERR_PARSE_FAILED = 32 : failed to parse a conf file VIR_ERR_CONF_SYNTAX = 33 : failed to parse the syntax of a conf file VIR_ERR_WRITE_FAILED = 34 : failed to write a conf file + VIR_ERR_XML_DETAIL = 35 : detail of an XML error }
int virConnCopyLastError (virConnectPtr conn,
virErrorPtr to)
Copy the content of the last error caught on that connection One will need to free the result with virResetError()
diff --git a/docs/libvirt-api.xml b/docs/libvirt-api.xml index f88b00658a..856b3725bb 100644 --- a/docs/libvirt-api.xml +++ b/docs/libvirt-api.xml @@ -66,6 +66,7 @@