mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 10:31:16 +00:00
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.
This commit is contained in:
parent
85ef19558c
commit
503cca7cee
@ -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
|
||||
|
@ -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:
|
||||
*
|
||||
|
@ -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:
|
||||
*
|
||||
|
@ -44,6 +44,15 @@
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user