* src/test.c include/libvirt/libvirt.h include/libvirt/libvirt.h.in:

cleanup of unused virDeviceMode
Daniel
This commit is contained in:
Daniel Veillard 2007-07-18 10:11:09 +00:00
parent 36e975dd4f
commit 6365ff098c
4 changed files with 6 additions and 25 deletions

View File

@ -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>
* src/openvz_conf.c src/libvirt.c: cleanup, avoid some warnings,

View File

@ -76,18 +76,6 @@ typedef enum {
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
} 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:
*

View File

@ -76,18 +76,6 @@ typedef enum {
VIR_DOMAIN_RENAME_RESTART= 4/* restart under an new unique name */
} 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:
*

View File

@ -155,7 +155,7 @@ typedef struct _testPrivate *testPrivatePtr;
typedef struct _testDev {
char name[20];
virDeviceMode mode;
int mode;
} testDev;
#define MAX_DEVICES 10