Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
821b41f9
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
821b41f9
编写于
12月 02, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix driver ordering to make domain autostart work (Gerd von Egidy)
上级
a429e221
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
26 addition
and
13 deletion
+26
-13
AUTHORS
AUTHORS
+1
-1
ChangeLog
ChangeLog
+6
-0
qemud/qemud.c
qemud/qemud.c
+19
-12
未找到文件。
AUTHORS
浏览文件 @
821b41f9
...
@@ -55,7 +55,7 @@ Patches have also been contributed by:
...
@@ -55,7 +55,7 @@ Patches have also been contributed by:
Chris Wrigh <chrisw@redhat.com>
Chris Wrigh <chrisw@redhat.com>
Ben Guthro <bguthro@virtualiron.com>
Ben Guthro <bguthro@virtualiron.com>
Shigeki Sakamoto <fj0588di@aa.jp.fujitsu.com>
Shigeki Sakamoto <fj0588di@aa.jp.fujitsu.com>
Gerd von Egidy <lists@egidy.de>
[....send patches to get your name here....]
[....send patches to get your name here....]
...
...
ChangeLog
浏览文件 @
821b41f9
Tue Dec 2 11:34:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* qemud/qemud.c: Registering network, storage & nodedev drivers
before any domain drivers, so domain autostart can rely on
network/storage autostarted objects. Patch from Gerd von Egidy
Tue Dec 2 11:21:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Tue Dec 2 11:21:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/uml_driver.c: Fix recording of watch number to make
* src/uml_driver.c: Fix recording of watch number to make
...
...
qemud/qemud.c
浏览文件 @
821b41f9
...
@@ -755,28 +755,26 @@ static struct qemud_server *qemudInitialize(int sigread) {
...
@@ -755,28 +755,26 @@ static struct qemud_server *qemudInitialize(int sigread) {
virInitialize
();
virInitialize
();
/*
* Note that the order is important: the first ones have a higher
* priority when calling virStateInitialize. We must register
* the network, storage and nodedev drivers before any domain
* drivers, since their resources must be auto-started before
* any domains can be auto-started.
*/
#ifdef WITH_DRIVER_MODULES
#ifdef WITH_DRIVER_MODULES
/* We don't care if any of these fail, because the whole point
/* We don't care if any of these fail, because the whole point
* is to allow users to only install modules they want to use.
* is to allow users to only install modules they want to use.
* If they try to use a open a connection for a module that
* If they try to use a open a connection for a module that
* is not loaded they'll get a suitable error at that point
* is not loaded they'll get a suitable error at that point
*/
*/
virDriverLoadModule
(
"qemu"
);
virDriverLoadModule
(
"lxc"
);
virDriverLoadModule
(
"uml"
);
virDriverLoadModule
(
"network"
);
virDriverLoadModule
(
"network"
);
virDriverLoadModule
(
"storage"
);
virDriverLoadModule
(
"storage"
);
virDriverLoadModule
(
"nodedev"
);
virDriverLoadModule
(
"nodedev"
);
virDriverLoadModule
(
"qemu"
);
virDriverLoadModule
(
"lxc"
);
virDriverLoadModule
(
"uml"
);
#else
#else
#ifdef WITH_QEMU
qemuRegister
();
#endif
#ifdef WITH_LXC
lxcRegister
();
#endif
#ifdef WITH_UML
umlRegister
();
#endif
#ifdef WITH_NETWORK
#ifdef WITH_NETWORK
networkRegister
();
networkRegister
();
#endif
#endif
...
@@ -786,6 +784,15 @@ static struct qemud_server *qemudInitialize(int sigread) {
...
@@ -786,6 +784,15 @@ static struct qemud_server *qemudInitialize(int sigread) {
#if defined(HAVE_HAL) || defined(HAVE_DEVKIT)
#if defined(HAVE_HAL) || defined(HAVE_DEVKIT)
nodedevRegister
();
nodedevRegister
();
#endif
#endif
#ifdef WITH_QEMU
qemuRegister
();
#endif
#ifdef WITH_LXC
lxcRegister
();
#endif
#ifdef WITH_UML
umlRegister
();
#endif
#endif
#endif
virEventRegisterImpl
(
virEventAddHandleImpl
,
virEventRegisterImpl
(
virEventAddHandleImpl
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录