Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
53b57481
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,发现更多精彩内容 >>
提交
53b57481
编写于
2月 07, 2013
作者:
M
Michal Privoznik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
virsh-snapshot.c: Switch to c99 initialization of vshCmdInfo
上级
44ac20b8
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
70 addition
and
30 deletion
+70
-30
tools/virsh-snapshot.c
tools/virsh-snapshot.c
+70
-30
未找到文件。
tools/virsh-snapshot.c
浏览文件 @
53b57481
...
...
@@ -112,9 +112,13 @@ cleanup:
* "snapshot-create" command
*/
static
const
vshCmdInfo
info_snapshot_create
[]
=
{
{
"help"
,
N_
(
"Create a snapshot from XML"
)},
{
"desc"
,
N_
(
"Create a snapshot (disk and RAM) from XML"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Create a snapshot from XML"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Create a snapshot (disk and RAM) from XML"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_create
[]
=
{
...
...
@@ -325,9 +329,13 @@ cleanup:
}
static
const
vshCmdInfo
info_snapshot_create_as
[]
=
{
{
"help"
,
N_
(
"Create a snapshot from a set of args"
)},
{
"desc"
,
N_
(
"Create a snapshot (disk and RAM) from arguments"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Create a snapshot from a set of args"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Create a snapshot (disk and RAM) from arguments"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_create_as
[]
=
{
...
...
@@ -524,9 +532,13 @@ vshLookupSnapshot(vshControl *ctl, const vshCmd *cmd,
* "snapshot-edit" command
*/
static
const
vshCmdInfo
info_snapshot_edit
[]
=
{
{
"help"
,
N_
(
"edit XML for a snapshot"
)},
{
"desc"
,
N_
(
"Edit the domain snapshot XML for a named snapshot"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"edit XML for a snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Edit the domain snapshot XML for a named snapshot"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_edit
[]
=
{
...
...
@@ -652,9 +664,13 @@ cleanup:
* "snapshot-current" command
*/
static
const
vshCmdInfo
info_snapshot_current
[]
=
{
{
"help"
,
N_
(
"Get or set the current snapshot"
)},
{
"desc"
,
N_
(
"Get or set the current snapshot"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Get or set the current snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get or set the current snapshot"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_current
[]
=
{
...
...
@@ -891,9 +907,13 @@ cleanup:
* "snapshot-info" command
*/
static
const
vshCmdInfo
info_snapshot_info
[]
=
{
{
"help"
,
N_
(
"snapshot information"
)},
{
"desc"
,
N_
(
"Returns basic information about a snapshot."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"snapshot information"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Returns basic information about a snapshot."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_info
[]
=
{
...
...
@@ -1446,9 +1466,13 @@ vshSnapshotListLookup(int id, bool parent, void *opaque)
* "snapshot-list" command
*/
static
const
vshCmdInfo
info_snapshot_list
[]
=
{
{
"help"
,
N_
(
"List snapshots for a domain"
)},
{
"desc"
,
N_
(
"Snapshot List"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"List snapshots for a domain"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Snapshot List"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_list
[]
=
{
...
...
@@ -1734,9 +1758,13 @@ cleanup:
* "snapshot-dumpxml" command
*/
static
const
vshCmdInfo
info_snapshot_dumpxml
[]
=
{
{
"help"
,
N_
(
"Dump XML for a domain snapshot"
)},
{
"desc"
,
N_
(
"Snapshot Dump XML"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Dump XML for a domain snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Snapshot Dump XML"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_dumpxml
[]
=
{
...
...
@@ -1799,9 +1827,13 @@ cleanup:
* "snapshot-parent" command
*/
static
const
vshCmdInfo
info_snapshot_parent
[]
=
{
{
"help"
,
N_
(
"Get the name of the parent of a snapshot"
)},
{
"desc"
,
N_
(
"Extract the snapshot's parent, if any"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Get the name of the parent of a snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Extract the snapshot's parent, if any"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_parent
[]
=
{
...
...
@@ -1865,9 +1897,13 @@ cleanup:
* "snapshot-revert" command
*/
static
const
vshCmdInfo
info_snapshot_revert
[]
=
{
{
"help"
,
N_
(
"Revert a domain to a snapshot"
)},
{
"desc"
,
N_
(
"Revert domain to snapshot"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Revert a domain to a snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Revert domain to snapshot"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_revert
[]
=
{
...
...
@@ -1959,9 +1995,13 @@ cleanup:
* "snapshot-delete" command
*/
static
const
vshCmdInfo
info_snapshot_delete
[]
=
{
{
"help"
,
N_
(
"Delete a domain snapshot"
)},
{
"desc"
,
N_
(
"Snapshot Delete"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Delete a domain snapshot"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Snapshot Delete"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_snapshot_delete
[]
=
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录