Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
ef41eda6
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看板
提交
ef41eda6
编写于
2月 10, 2017
作者:
N
Nitesh Konkar
提交者:
John Ferlan
2月 10, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
util: Fix indentation for virnetdevmacvlan
Signed-off-by:
N
Nitesh Konkar
<
nitkon12@linux.vnet.ibm.com
>
上级
4ab0c959
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
25 addition
and
25 deletion
+25
-25
src/util/virnetdevmacvlan.c
src/util/virnetdevmacvlan.c
+15
-15
src/util/virnetdevmacvlan.h
src/util/virnetdevmacvlan.h
+10
-10
未找到文件。
src/util/virnetdevmacvlan.c
浏览文件 @
ef41eda6
...
...
@@ -1222,11 +1222,11 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname,
* Returns 0; returns -1 on error.
*/
int
virNetDevMacVLanRestartWithVPortProfile
(
const
char
*
cr_ifname
,
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
{
int
rc
=
0
;
...
...
@@ -1301,11 +1301,11 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname ATTRIBUTE_UNUSED,
}
int
virNetDevMacVLanRestartWithVPortProfile
(
const
char
*
cr_ifname
ATTRIBUTE_UNUSED
,
const
virMacAddr
*
macaddress
ATTRIBUTE_UNUSED
,
const
char
*
linkdev
ATTRIBUTE_UNUSED
,
const
unsigned
char
*
vmuuid
ATTRIBUTE_UNUSED
,
virNetDevVPortProfilePtr
virtPortProfile
ATTRIBUTE_UNUSED
,
virNetDevVPortProfileOp
vmOp
ATTRIBUTE_UNUSED
)
const
virMacAddr
*
macaddress
ATTRIBUTE_UNUSED
,
const
char
*
linkdev
ATTRIBUTE_UNUSED
,
const
unsigned
char
*
vmuuid
ATTRIBUTE_UNUSED
,
virNetDevVPortProfilePtr
virtPortProfile
ATTRIBUTE_UNUSED
,
virNetDevVPortProfileOp
vmOp
ATTRIBUTE_UNUSED
)
{
virReportSystemError
(
ENOSYS
,
"%s"
,
_
(
"Cannot create macvlan devices on this platform"
));
...
...
@@ -1313,11 +1313,11 @@ int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname ATTRIBUTE_UNUS
}
int
virNetDevMacVLanVPortProfileRegisterCallback
(
const
char
*
ifname
ATTRIBUTE_UNUSED
,
const
virMacAddr
*
macaddress
ATTRIBUTE_UNUSED
,
const
char
*
linkdev
ATTRIBUTE_UNUSED
,
const
unsigned
char
*
vmuuid
ATTRIBUTE_UNUSED
,
virNetDevVPortProfilePtr
virtPortProfile
ATTRIBUTE_UNUSED
,
virNetDevVPortProfileOp
vmOp
ATTRIBUTE_UNUSED
)
const
virMacAddr
*
macaddress
ATTRIBUTE_UNUSED
,
const
char
*
linkdev
ATTRIBUTE_UNUSED
,
const
unsigned
char
*
vmuuid
ATTRIBUTE_UNUSED
,
virNetDevVPortProfilePtr
virtPortProfile
ATTRIBUTE_UNUSED
,
virNetDevVPortProfileOp
vmOp
ATTRIBUTE_UNUSED
)
{
virReportSystemError
(
ENOSYS
,
"%s"
,
_
(
"Cannot create macvlan devices on this platform"
));
...
...
src/util/virnetdevmacvlan.h
浏览文件 @
ef41eda6
...
...
@@ -92,20 +92,20 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname,
ATTRIBUTE_NONNULL
(
6
)
ATTRIBUTE_RETURN_CHECK
;
int
virNetDevMacVLanRestartWithVPortProfile
(
const
char
*
cr_ifname
,
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
ATTRIBUTE_NONNULL
(
1
)
ATTRIBUTE_NONNULL
(
2
)
ATTRIBUTE_NONNULL
(
3
)
ATTRIBUTE_NONNULL
(
4
)
ATTRIBUTE_RETURN_CHECK
;
int
virNetDevMacVLanVPortProfileRegisterCallback
(
const
char
*
ifname
,
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
const
virMacAddr
*
macaddress
,
const
char
*
linkdev
,
const
unsigned
char
*
vmuuid
,
virNetDevVPortProfilePtr
virtPortProfile
,
virNetDevVPortProfileOp
vmOp
)
ATTRIBUTE_NONNULL
(
1
)
ATTRIBUTE_NONNULL
(
2
)
ATTRIBUTE_NONNULL
(
3
)
ATTRIBUTE_NONNULL
(
4
)
ATTRIBUTE_RETURN_CHECK
;
#endif
/* __UTIL_MACVTAP_H__ */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录