mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Mon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/driver.h: remove Free(), GetName(), GetID() and GetUUID() driver methods. * src/proxy_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xs_internal.c: Update driver vtables.
This commit is contained in:
parent
8f8397df7f
commit
26d6bbf3a4
@ -1,3 +1,12 @@
|
||||
Mon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
||||
|
||||
* src/driver.h: remove Free(), GetName(), GetID() and
|
||||
GetUUID() driver methods.
|
||||
|
||||
* src/proxy_internal.c, src/test.c, src/xen_internal.c,
|
||||
src/xend_internal.c, src/xm_internal.c, src/xs_internal.c:
|
||||
Update driver vtables.
|
||||
|
||||
Mon Jan 22 16:24:54 CET 2007 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* configure.in libvirt.spec.in docs/*.html include/libvirt/libvirt.h:
|
||||
|
13
src/driver.h
13
src/driver.h
@ -77,15 +77,6 @@ typedef int
|
||||
unsigned int flags);
|
||||
typedef int
|
||||
(*virDrvDomainDestroy) (virDomainPtr domain);
|
||||
typedef int
|
||||
(*virDrvDomainFree) (virDomainPtr domain);
|
||||
typedef const char *
|
||||
(*virDrvDomainGetName) (virDomainPtr domain);
|
||||
typedef int
|
||||
(*virDrvDomainGetID) (virDomainPtr domain);
|
||||
typedef int
|
||||
(*virDrvDomainGetUUID) (virDomainPtr domain,
|
||||
unsigned char *uuid);
|
||||
typedef char *
|
||||
(*virDrvDomainGetOSType) (virDomainPtr domain);
|
||||
typedef unsigned long
|
||||
@ -175,10 +166,6 @@ struct _virDriver {
|
||||
virDrvDomainShutdown domainShutdown;
|
||||
virDrvDomainReboot domainReboot;
|
||||
virDrvDomainDestroy domainDestroy;
|
||||
virDrvDomainFree domainFree;
|
||||
virDrvDomainGetName domainGetName;
|
||||
virDrvDomainGetID domainGetID;
|
||||
virDrvDomainGetUUID domainGetUUID;
|
||||
virDrvDomainGetOSType domainGetOSType;
|
||||
virDrvDomainGetMaxMemory domainGetMaxMemory;
|
||||
virDrvDomainSetMaxMemory domainSetMaxMemory;
|
||||
|
@ -63,10 +63,6 @@ static virDriver xenProxyDriver = {
|
||||
NULL, /* domainShutdown */
|
||||
NULL, /* domainReboot */
|
||||
NULL, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
xenProxyDomainGetOSType, /* domainGetOSType */
|
||||
xenProxyDomainGetMaxMemory, /* domainGetMaxMemory */
|
||||
NULL, /* domainSetMaxMemory */
|
||||
|
@ -107,10 +107,6 @@ static virDriver testDriver = {
|
||||
testShutdownDomain, /* domainShutdown */
|
||||
testRebootDomain, /* domainReboot */
|
||||
testDestroyDomain, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
testGetOSType, /* domainGetOSType */
|
||||
testGetMaxMemory, /* domainGetMaxMemory */
|
||||
testSetMaxMemory, /* domainSetMaxMemory */
|
||||
|
@ -437,10 +437,6 @@ static virDriver xenHypervisorDriver = {
|
||||
NULL, /* domainShutdown */
|
||||
NULL, /* domainReboot */
|
||||
xenHypervisorDestroyDomain, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
NULL, /* domainGetOSType */
|
||||
xenHypervisorGetMaxMemory, /* domainGetMaxMemory */
|
||||
xenHypervisorSetMaxMemory, /* domainSetMaxMemory */
|
||||
|
@ -79,10 +79,6 @@ static virDriver xenDaemonDriver = {
|
||||
xenDaemonDomainShutdown, /* domainShutdown */
|
||||
xenDaemonDomainReboot, /* domainReboot */
|
||||
xenDaemonDomainDestroy, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
NULL, /* domainGetOSType */
|
||||
xenDaemonDomainGetMaxMemory, /* domainGetMaxMemory */
|
||||
xenDaemonDomainSetMaxMemory, /* domainSetMaxMemory */
|
||||
|
@ -86,10 +86,6 @@ static virDriver xenXMDriver = {
|
||||
NULL, /* domainShutdown */
|
||||
NULL, /* domainReboot */
|
||||
NULL, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
NULL, /* domainGetOSType */
|
||||
xenXMDomainGetMaxMemory, /* domainGetMaxMemory */
|
||||
xenXMDomainSetMaxMemory, /* domainSetMaxMemory */
|
||||
|
@ -57,10 +57,6 @@ static virDriver xenStoreDriver = {
|
||||
xenStoreDomainShutdown, /* domainShutdown */
|
||||
xenStoreDomainReboot, /* domainReboot */
|
||||
NULL, /* domainDestroy */
|
||||
NULL, /* domainFree */
|
||||
NULL, /* domainGetName */
|
||||
NULL, /* domainGetID */
|
||||
NULL, /* domainGetUUID */
|
||||
xenStoreDomainGetOSType, /* domainGetOSType */
|
||||
xenStoreDomainGetMaxMemory, /* domainGetMaxMemory */
|
||||
NULL, /* domainSetMaxMemory */
|
||||
|
Loading…
Reference in New Issue
Block a user