Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
483f6d69
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看板
提交
483f6d69
编写于
7月 04, 2007
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make network APIs go via remote driver. Autospawn per-user daemon
上级
6bdad268
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
331 addition
and
86 deletion
+331
-86
ChangeLog
ChangeLog
+10
-0
src/qemu_driver.c
src/qemu_driver.c
+5
-4
src/remote_internal.c
src/remote_internal.c
+316
-82
未找到文件。
ChangeLog
浏览文件 @
483f6d69
Mon Jul 2 09:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_driver.c: Change 'qemu' to 'QEMU' to get compatability
with previous releases reporting of driver type. Allow QEMU to
handle qemu:///session for root users too. Fix network lookup
functions to use networkPrivateData instead of privateData
* src/remote_internal.c: Add auto-spawn of daemons for networking.
Make network activate for Xen / Test drivers. Make the network
functions use networkPrivateData instead of privateData
Fri Jun 29 15:46:34 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: applied patch from Masayuki Sunou to remove leaks
...
...
src/qemu_driver.c
浏览文件 @
483f6d69
...
...
@@ -1495,7 +1495,8 @@ static virDrvOpenStatus qemudOpen(virConnectPtr conn,
if
(
strcmp
(
name
,
"qemu:///session"
))
return
VIR_DRV_OPEN_DECLINED
;
}
else
{
if
(
strcmp
(
name
,
"qemu:///system"
))
if
(
strcmp
(
name
,
"qemu:///system"
)
&&
strcmp
(
name
,
"qemu:///session"
))
return
VIR_DRV_OPEN_DECLINED
;
}
...
...
@@ -1513,7 +1514,7 @@ static int qemudClose(virConnectPtr conn) {
}
static
const
char
*
qemudGetType
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
)
{
return
"
qemu
"
;
return
"
QEMU
"
;
}
static
int
qemudGetMaxVCPUs
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
,
...
...
@@ -2174,7 +2175,7 @@ static int qemudDomainSetAutostart(virDomainPtr dom,
static
virNetworkPtr
qemudNetworkLookupByUUID
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
,
const
unsigned
char
*
uuid
)
{
struct
qemud_driver
*
driver
=
(
struct
qemud_driver
*
)
conn
->
p
rivateData
;
struct
qemud_driver
*
driver
=
(
struct
qemud_driver
*
)
conn
->
networkP
rivateData
;
struct
qemud_network
*
network
=
qemudFindNetworkByUUID
(
driver
,
uuid
);
virNetworkPtr
net
;
...
...
@@ -2192,7 +2193,7 @@ static virNetworkPtr qemudNetworkLookupByUUID(virConnectPtr conn ATTRIBUTE_UNUSE
}
static
virNetworkPtr
qemudNetworkLookupByName
(
virConnectPtr
conn
ATTRIBUTE_UNUSED
,
const
char
*
name
)
{
struct
qemud_driver
*
driver
=
(
struct
qemud_driver
*
)
conn
->
p
rivateData
;
struct
qemud_driver
*
driver
=
(
struct
qemud_driver
*
)
conn
->
networkP
rivateData
;
struct
qemud_network
*
network
=
qemudFindNetworkByName
(
driver
,
name
);
virNetworkPtr
net
;
...
...
src/remote_internal.c
浏览文件 @
483f6d69
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录