mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-24 12:22:20 +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>
|
||||
|
||||
* 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 */
|
||||
} 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:
|
||||
*
|
||||
|
@ -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:
|
||||
*
|
||||
|
@ -155,7 +155,7 @@ typedef struct _testPrivate *testPrivatePtr;
|
||||
|
||||
typedef struct _testDev {
|
||||
char name[20];
|
||||
virDeviceMode mode;
|
||||
int mode;
|
||||
} testDev;
|
||||
|
||||
#define MAX_DEVICES 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user