Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
69582431
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看板
提交
69582431
编写于
7月 11, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix booting QEMU off CDROM devices with -drive arg
上级
d4f6e9b5
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
67 addition
and
1 deletion
+67
-1
ChangeLog
ChangeLog
+7
-0
src/qemu_conf.c
src/qemu_conf.c
+2
-1
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
.../qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
+1
-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
...s/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
+26
-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
...s/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
+1
-0
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
+26
-0
tests/qemuxml2argvtest.c
tests/qemuxml2argvtest.c
+4
-0
未找到文件。
ChangeLog
浏览文件 @
69582431
Fri Jul 11 10:55:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_conf.c: Fix booting off CDROM devices
* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-*,
tests/qemuxml2argvtest.c: New test cases for booting off
CDROM with QEMU
Fri Jul 11 10:50:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* libvirt.spec.in, qemud/Makefile.am: Rename installed polkit
...
...
src/qemu_conf.c
浏览文件 @
69582431
...
...
@@ -2624,7 +2624,8 @@ int qemudBuildCommandLine(virConnectPtr conn,
disk
->
src
,
qemudBusIdToName
(
disk
->
bus
,
1
),
media
?
media
:
""
,
idx
,
bootable
?
",boot=on"
:
""
);
bootable
&&
disk
->
device
==
QEMUD_DISK_DISK
?
",boot=on"
:
""
);
ADD_ARG_LIT
(
"-drive"
);
ADD_ARG_LIT
(
opt
);
...
...
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.args
0 → 100644
浏览文件 @
69582431
/usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic -monitor pty -no-acpi -boot d -drive file=/dev/HostVG/QEMUGuest1,if=ide,index=0 -drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,index=2 -net none -serial none -parallel none -usb
\ No newline at end of file
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
0 → 100644
浏览文件 @
69582431
<domain
type=
'qemu'
>
<name>
QEMUGuest1
</name>
<uuid>
c7a5fdbd-edaf-9455-926a-d65c16db1809
</uuid>
<memory>
219200
</memory>
<currentMemory>
219200
</currentMemory>
<vcpu>
1
</vcpu>
<os>
<type
arch=
'i686'
machine=
'pc'
>
hvm
</type>
<boot
dev=
'cdrom'
/>
</os>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
</disk>
</devices>
</domain>
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.args
0 → 100644
浏览文件 @
69582431
/usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic -monitor pty -no-acpi -boot c -drive file=/dev/HostVG/QEMUGuest1,if=ide,index=0,boot=on -drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,index=2 -net none -serial none -parallel none -usb
\ No newline at end of file
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
0 → 100644
浏览文件 @
69582431
<domain
type=
'qemu'
>
<name>
QEMUGuest1
</name>
<uuid>
c7a5fdbd-edaf-9455-926a-d65c16db1809
</uuid>
<memory>
219200
</memory>
<currentMemory>
219200
</currentMemory>
<vcpu>
1
</vcpu>
<os>
<type
arch=
'i686'
machine=
'pc'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<emulator>
/usr/bin/qemu
</emulator>
<disk
type=
'block'
device=
'disk'
>
<source
dev=
'/dev/HostVG/QEMUGuest1'
/>
<target
dev=
'hda'
bus=
'ide'
/>
</disk>
<disk
type=
'block'
device=
'cdrom'
>
<source
dev=
'/dev/HostVG/QEMUGuest2'
/>
<target
dev=
'hdc'
bus=
'ide'
/>
</disk>
</devices>
</domain>
tests/qemuxml2argvtest.c
浏览文件 @
69582431
...
...
@@ -158,6 +158,10 @@ mymain(int argc, char **argv)
QEMUD_CMD_FLAG_DRIVE_BOOT
);
DO_TEST
(
"disk-xenvbd"
,
QEMUD_CMD_FLAG_DRIVE
|
QEMUD_CMD_FLAG_DRIVE_BOOT
);
DO_TEST
(
"disk-drive-boot-disk"
,
QEMUD_CMD_FLAG_DRIVE
|
QEMUD_CMD_FLAG_DRIVE_BOOT
);
DO_TEST
(
"disk-drive-boot-cdrom"
,
QEMUD_CMD_FLAG_DRIVE
|
QEMUD_CMD_FLAG_DRIVE_BOOT
);
DO_TEST
(
"graphics-vnc"
,
0
);
DO_TEST
(
"graphics-sdl"
,
0
);
DO_TEST
(
"input-usbmouse"
,
0
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录