From 83471f1ec5263b85b3504264b6a7c4b40b5bd68b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 25 Jun 2007 13:26:02 +0000 Subject: [PATCH] Mon Jun 25 14:30:00 BST 2007 Richard W.M. Jones * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, src/test.c: Remove unused virDomainKernel structure. --- ChangeLog | 5 +++++ include/libvirt/libvirt.h | 24 ------------------------ include/libvirt/libvirt.h.in | 24 ------------------------ src/test.c | 1 - 4 files changed, 5 insertions(+), 49 deletions(-) diff --git a/ChangeLog b/ChangeLog index b8466dd16b..7d243dd6de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 25 14:30:00 BST 2007 Richard W.M. Jones + + * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, + src/test.c: Remove unused virDomainKernel structure. + Mon Jun 25 14:03:00 BST 2007 Richard W.M. Jones * src/remote_internal.c: Partial revert - defining enum transport diff --git a/include/libvirt/libvirt.h b/include/libvirt/libvirt.h index 9e3dcb7fd4..5153274a60 100644 --- a/include/libvirt/libvirt.h +++ b/include/libvirt/libvirt.h @@ -113,30 +113,6 @@ struct _virDomainInfo { typedef virDomainInfo *virDomainInfoPtr; -/** - * virDomainKernel: - * - * a virDomainImage is the set of kernel related informations associated - * to a domain - */ - -typedef struct _virDomainKernel virDomainKernel; - -struct _virDomainKernel { - const char *kernel; /* filename pointing to the kernel image */ - const char *ramdisk; /* an optional init ramdisk */ - const char *root; /* an optional root block device */ - const char *extra; /* optional kernel command line parameters */ -}; - -/** - * virDomainKernelPtr: - * - * a virDomainKernelPtr is a pointer to a virDomainKernel structure. - */ - -typedef virDomainKernel *virDomainKernelPtr; - /** * virDomainCreateFlags: * diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 75578e080f..cf8de162b9 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -113,30 +113,6 @@ struct _virDomainInfo { typedef virDomainInfo *virDomainInfoPtr; -/** - * virDomainKernel: - * - * a virDomainImage is the set of kernel related informations associated - * to a domain - */ - -typedef struct _virDomainKernel virDomainKernel; - -struct _virDomainKernel { - const char *kernel; /* filename pointing to the kernel image */ - const char *ramdisk; /* an optional init ramdisk */ - const char *root; /* an optional root block device */ - const char *extra; /* optional kernel command line parameters */ -}; - -/** - * virDomainKernelPtr: - * - * a virDomainKernelPtr is a pointer to a virDomainKernel structure. - */ - -typedef virDomainKernel *virDomainKernelPtr; - /** * virDomainCreateFlags: * diff --git a/src/test.c b/src/test.c index a9f330bcfa..723d7e7ad8 100644 --- a/src/test.c +++ b/src/test.c @@ -155,7 +155,6 @@ typedef struct _testDom { int id; char name[20]; unsigned char uuid[VIR_UUID_BUFLEN]; - virDomainKernel kernel; virDomainInfo info; unsigned int maxVCPUs; virDomainRestart onRestart; /* What to do at end of current shutdown procedure */ -- GitLab