mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
use C99 initializers for virState
* src/lxc_driver.c src/qemu_driver.c src/remote_internal.c src/storage_driver.c: use C99 initializers for virState (Guido Gunther) Daniel
This commit is contained in:
parent
243e80260a
commit
72c40b0622
@ -1,3 +1,9 @@
|
|||||||
|
Mon Oct 6 17:39:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/lxc_driver.c src/qemu_driver.c src/remote_internal.c
|
||||||
|
src/storage_driver.c: use C99 initializers for virState (Guido
|
||||||
|
Gunther)
|
||||||
|
|
||||||
Mon Oct 6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Mon Oct 6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* qemud/Makefile.am: Fix VPATH build (Guido Gunther)
|
* qemud/Makefile.am: Fix VPATH build (Guido Gunther)
|
||||||
|
@ -1214,11 +1214,9 @@ static virDriver lxcDriver = {
|
|||||||
|
|
||||||
|
|
||||||
static virStateDriver lxcStateDriver = {
|
static virStateDriver lxcStateDriver = {
|
||||||
lxcStartup,
|
.initialize = lxcStartup,
|
||||||
lxcShutdown,
|
.cleanup = lxcShutdown,
|
||||||
NULL, /* reload */
|
.active = lxcActive,
|
||||||
lxcActive,
|
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int lxcRegister(void)
|
int lxcRegister(void)
|
||||||
|
@ -4104,11 +4104,10 @@ static virNetworkDriver qemuNetworkDriver = {
|
|||||||
|
|
||||||
#ifdef WITH_LIBVIRTD
|
#ifdef WITH_LIBVIRTD
|
||||||
static virStateDriver qemuStateDriver = {
|
static virStateDriver qemuStateDriver = {
|
||||||
qemudStartup,
|
.initialize = qemudStartup,
|
||||||
qemudShutdown,
|
.cleanup = qemudShutdown,
|
||||||
qemudReload,
|
.reload = qemudReload,
|
||||||
qemudActive,
|
.active = qemudActive,
|
||||||
NULL
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -4937,11 +4937,7 @@ static virStorageDriver storage_driver = {
|
|||||||
|
|
||||||
#ifdef WITH_LIBVIRTD
|
#ifdef WITH_LIBVIRTD
|
||||||
static virStateDriver state_driver = {
|
static virStateDriver state_driver = {
|
||||||
remoteStartup,
|
.initialize = remoteStartup,
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1267,11 +1267,10 @@ static virStorageDriver storageDriver = {
|
|||||||
|
|
||||||
|
|
||||||
static virStateDriver stateDriver = {
|
static virStateDriver stateDriver = {
|
||||||
storageDriverStartup,
|
.initialize = storageDriverStartup,
|
||||||
storageDriverShutdown,
|
.cleanup = storageDriverShutdown,
|
||||||
storageDriverReload,
|
.reload = storageDriverReload,
|
||||||
storageDriverActive,
|
.active = storageDriverActive,
|
||||||
NULL
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int storageRegister(void) {
|
int storageRegister(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user