[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] [PATCH] Cleanup - remove virDomainKernel structure




... unless anyone can remember what it was for. It still builds fine without it.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
Index: include/libvirt/libvirt.h
===================================================================
RCS file: /data/cvs/libvirt/include/libvirt/libvirt.h,v
retrieving revision 1.45
diff -u -p -r1.45 libvirt.h
--- include/libvirt/libvirt.h	8 Jun 2007 11:11:56 -0000	1.45
+++ include/libvirt/libvirt.h	25 Jun 2007 13:06:24 -0000
@@ -114,30 +114,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:
  *
  * Flags OR'ed together to provide specific behaviour when creating a
Index: include/libvirt/libvirt.h.in
===================================================================
RCS file: /data/cvs/libvirt/include/libvirt/libvirt.h.in,v
retrieving revision 1.27
diff -u -p -r1.27 libvirt.h.in
--- include/libvirt/libvirt.h.in	5 Jun 2007 12:06:08 -0000	1.27
+++ include/libvirt/libvirt.h.in	25 Jun 2007 13:06:24 -0000
@@ -114,30 +114,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:
  *
  * Flags OR'ed together to provide specific behaviour when creating a
Index: src/test.c
===================================================================
RCS file: /data/cvs/libvirt/src/test.c,v
retrieving revision 1.34
diff -u -p -r1.34 test.c
--- src/test.c	20 Jun 2007 17:25:39 -0000	1.34
+++ src/test.c	25 Jun 2007 13:06:25 -0000
@@ -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 */

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]