mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 11:15:08 +00:00
* src/test.c include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
cleanup of unused virDeviceMode Daniel
This commit is contained in:
parent
36e975dd4f
commit
6365ff098c
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jul 18 12:10:08 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/test.c include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
|
||||||
|
cleanup of unused virDeviceMode
|
||||||
|
|
||||||
Tue Jul 17 16:39:18 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
Tue Jul 17 16:39:18 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/openvz_conf.c src/libvirt.c: cleanup, avoid some warnings,
|
* src/openvz_conf.c src/libvirt.c: cleanup, avoid some warnings,
|
||||||
|
@ -76,18 +76,6 @@ typedef enum {
|
|||||||
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
|
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
|
||||||
} virDomainRestart;
|
} virDomainRestart;
|
||||||
|
|
||||||
/**
|
|
||||||
* virDeviceMode:
|
|
||||||
*
|
|
||||||
* Flags that determine permission to expose a device to the guest
|
|
||||||
*/
|
|
||||||
typedef enum {
|
|
||||||
VIR_DEVICE_DEFAULT = 0, /* Default mode */
|
|
||||||
VIR_DEVICE_RO = 1, /* Access read-only */
|
|
||||||
VIR_DEVICE_RW = 2, /* Access read-write */
|
|
||||||
VIR_DEVICE_RW_FORCE= 3 /* Forced read-write even if already used */
|
|
||||||
} virDeviceMode;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virDomainInfoPtr:
|
* virDomainInfoPtr:
|
||||||
*
|
*
|
||||||
|
@ -76,18 +76,6 @@ typedef enum {
|
|||||||
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
|
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
|
||||||
} virDomainRestart;
|
} virDomainRestart;
|
||||||
|
|
||||||
/**
|
|
||||||
* virDeviceMode:
|
|
||||||
*
|
|
||||||
* Flags that determine permission to expose a device to the guest
|
|
||||||
*/
|
|
||||||
typedef enum {
|
|
||||||
VIR_DEVICE_DEFAULT = 0, /* Default mode */
|
|
||||||
VIR_DEVICE_RO = 1, /* Access read-only */
|
|
||||||
VIR_DEVICE_RW = 2, /* Access read-write */
|
|
||||||
VIR_DEVICE_RW_FORCE= 3 /* Forced read-write even if already used */
|
|
||||||
} virDeviceMode;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virDomainInfoPtr:
|
* virDomainInfoPtr:
|
||||||
*
|
*
|
||||||
|
@ -155,7 +155,7 @@ typedef struct _testPrivate *testPrivatePtr;
|
|||||||
|
|
||||||
typedef struct _testDev {
|
typedef struct _testDev {
|
||||||
char name[20];
|
char name[20];
|
||||||
virDeviceMode mode;
|
int mode;
|
||||||
} testDev;
|
} testDev;
|
||||||
|
|
||||||
#define MAX_DEVICES 10
|
#define MAX_DEVICES 10
|
||||||
|
Loading…
Reference in New Issue
Block a user