]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Mon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 15 Oct 2007 14:32:35 +0000 (14:32 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 15 Oct 2007 14:32:35 +0000 (14:32 +0000)
        * src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart
        from the public API (it was not used), and move it into the test
        driver where it is used for purely internal purposes.

ChangeLog
include/libvirt/libvirt.h
include/libvirt/libvirt.h.in
src/test.c

index f33ca380adc97eff76db88f0938863fcb93e06e0..c8a02bb318511adb6e2cfe5a4ec39433514b44ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
+
+       * src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart
+       from the public API (it was not used), and move it into the test
+       driver where it is used for purely internal purposes.
+
 Fri Oct 12 12:05:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
 
        * src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add a
index fcaa01b2fc15b2d122292c162592be082ab7a30a..fb4cc6a15b6e1262c43ac22e7a83b8dc6adf05af 100644 (file)
@@ -66,18 +66,6 @@ typedef enum {
      VIR_DOMAIN_CRASHED = 6  /* the domain is crashed */
 } virDomainState;
 
-/**
- * virDomainRestart:
- *
- * Flags that determine the action to take on a shutdown or crash of a domain
- */
-typedef enum {
-     VIR_DOMAIN_DESTROY        = 1, /* destroy the domain */
-     VIR_DOMAIN_RESTART        = 2, /* restart the domain */
-     VIR_DOMAIN_PRESERVE= 3, /* keep as is, need manual destroy, for debug */
-     VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
-} virDomainRestart;
-
 /**
  * virDomainInfoPtr:
  *
index e6ebbac44a9fdb1045e0fcc8a2f214ad2c39d8d1..b61ed29512341c0ebe253d6335b29d0c7fd392bd 100644 (file)
@@ -66,18 +66,6 @@ typedef enum {
      VIR_DOMAIN_CRASHED = 6  /* the domain is crashed */
 } virDomainState;
 
-/**
- * virDomainRestart:
- *
- * Flags that determine the action to take on a shutdown or crash of a domain
- */
-typedef enum {
-     VIR_DOMAIN_DESTROY        = 1, /* destroy the domain */
-     VIR_DOMAIN_RESTART        = 2, /* restart the domain */
-     VIR_DOMAIN_PRESERVE= 3, /* keep as is, need manual destroy, for debug */
-     VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
-} virDomainRestart;
-
 /**
  * virDomainInfoPtr:
  *
index a948530fb76efbf6bc1627ba0c6ad3f746f67031..54f8e76d7a115f0c5290fe95dfab44a3eb243c00 100644 (file)
 #include "buf.h"
 #include "uuid.h"
 
+/* Flags that determine the action to take on a shutdown or crash of a domain
+ */
+typedef enum {
+     VIR_DOMAIN_DESTROY        = 1, /* destroy the domain */
+     VIR_DOMAIN_RESTART        = 2, /* restart the domain */
+     VIR_DOMAIN_PRESERVE= 3, /* keep as is, need manual destroy, for debug */
+     VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
+} virDomainRestart;
+
 struct _testDev {
     char name[20];
     int mode;