提交 6365ff09 编写于 作者: D Daniel Veillard

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

  cleanup of unused virDeviceMode
Daniel
上级 36e975dd
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册