Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
d1beab82
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d1beab82
编写于
18年前
作者:
B
bellard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no-reboot option
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@2192
c046a42c-6fe2-441c-8c8c-71466251a162
上级
e3e97e7c
无相关合并请求
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
1 deletion
+15
-1
qemu-doc.texi
qemu-doc.texi
+3
-0
vl.c
vl.c
+12
-1
未找到文件。
qemu-doc.texi
浏览文件 @
d1beab82
...
...
@@ -634,6 +634,9 @@ Disable ACPI (Advanced Configuration and Power Interface) support. Use
it if your guest OS complains about ACPI problems (PC target machine
only).
@item -no-reboot
Exit instead of rebooting.
@item -loadvm file
Start right away with a saved state (@code
{
loadvm
}
in monitor)
@end table
...
...
This diff is collapsed.
Click to expand it.
vl.c
浏览文件 @
d1beab82
...
...
@@ -161,6 +161,7 @@ int vnc_display = -1;
#endif
int
acpi_enabled
=
1
;
int
fd_bootchk
=
1
;
int
no_reboot
=
0
;
/***********************************************************/
/* x86 ISA bus support */
...
...
@@ -5627,7 +5628,11 @@ void qemu_system_reset(void)
void
qemu_system_reset_request
(
void
)
{
reset_requested
=
1
;
if
(
no_reboot
)
{
shutdown_requested
=
1
;
}
else
{
reset_requested
=
1
;
}
if
(
cpu_single_env
)
cpu_interrupt
(
cpu_single_env
,
CPU_INTERRUPT_EXIT
);
}
...
...
@@ -5925,6 +5930,7 @@ void help(void)
" (default is CL-GD5446 PCI VGA)
\n
"
"-no-acpi disable ACPI
\n
"
#endif
"-no-reboot exit instead of rebooting
\n
"
"-loadvm file start right away with a saved state (loadvm in monitor)
\n
"
"-vnc display start a VNC server on display
\n
"
"
\n
"
...
...
@@ -6005,6 +6011,7 @@ enum {
QEMU_OPTION_smp
,
QEMU_OPTION_vnc
,
QEMU_OPTION_no_acpi
,
QEMU_OPTION_no_reboot
,
};
typedef
struct
QEMUOption
{
...
...
@@ -6081,6 +6088,7 @@ const QEMUOption qemu_options[] = {
{
"usb"
,
0
,
QEMU_OPTION_usb
},
{
"cirrusvga"
,
0
,
QEMU_OPTION_cirrusvga
},
{
"no-acpi"
,
0
,
QEMU_OPTION_no_acpi
},
{
"no-reboot"
,
0
,
QEMU_OPTION_no_reboot
},
{
NULL
},
};
...
...
@@ -6725,6 +6733,9 @@ int main(int argc, char **argv)
case
QEMU_OPTION_no_acpi
:
acpi_enabled
=
0
;
break
;
case
QEMU_OPTION_no_reboot
:
no_reboot
=
1
;
break
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
反馈
建议
客服
返回
顶部