Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
34c4cf05
T
tp-qemu
项目概览
openeuler
/
tp-qemu
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tp-qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
34c4cf05
编写于
6月 08, 2020
作者:
Y
Yu Yihuang
提交者:
GitHub
6月 08, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2231 from wangxianxian/slof_scsiid
slof_user_interface: Add two cases for slof
上级
0df0ac6e
1dc10b7e
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
67 addition
and
39 deletion
+67
-39
qemu/tests/cfg/slof_user_interface.cfg
qemu/tests/cfg/slof_user_interface.cfg
+67
-39
未找到文件。
qemu/tests/cfg/slof_user_interface.cfg
浏览文件 @
34c4cf05
...
@@ -18,10 +18,23 @@
...
@@ -18,10 +18,23 @@
only ppc64le ppc64
only ppc64le ppc64
only Linux
only Linux
# Select one drive format since just test slof user interface.
# Select one drive format since just test slof user interface.
only virtio_scsi
no spapr_vscsi
variants:
variants:
- send_f12:
- send_f12:
send_keys = 'f12'
start_f12 = 'Select boot device'
end_f12 = ' net : '
start_select = 'Trying to load'
end_select = 'Successfully loaded'
cdroms = 'cd1'
cdrom_cd1 = /tmp/new.iso
pre_command_noncritical = no
pre_command = 'dd if=/dev/urandom of=/tmp/new bs=10M count=1 &&'
pre_command += ' mkisofs -o /tmp/new.iso /tmp/new'
post_command = "rm -rf /tmp/new.iso /tmp/new"
nic_pci_addr_nic1 = 0xa
variants:
- @default:
only virtio_scsi
virtio_scsi_pci_addr_image1 = 0xe
virtio_scsi_pci_addr_image1 = 0xe
bus_extra_params_image1 = 'addr=${virtio_scsi_pci_addr_image1}'
bus_extra_params_image1 = 'addr=${virtio_scsi_pci_addr_image1}'
images += " stg0 stg1"
images += " stg0 stg1"
...
@@ -38,39 +51,54 @@
...
@@ -38,39 +51,54 @@
image_size_stg1 = 25G
image_size_stg1 = 25G
remove_image_stg1 = yes
remove_image_stg1 = yes
force_create_image_stg1 = yes
force_create_image_stg1 = yes
cdroms = 'cd1'
cdrom_cd1 = /tmp/new.iso
pre_command_noncritical = no
pre_command = 'dd if=/dev/urandom of=/tmp/new bs=10M count=1 &&'
pre_command += ' mkisofs -o /tmp/new.iso /tmp/new'
post_command = "rm -rf /tmp/new.iso /tmp/new"
virtio_scsi_pci_addr_cd1 = 0xb
virtio_scsi_pci_addr_cd1 = 0xb
drive_bus_cd1 = 1
drive_bus_cd1 = 1
bus_extra_params_cd1 = 'addr=${virtio_scsi_pci_addr_cd1}'
bus_extra_params_cd1 = 'addr=${virtio_scsi_pci_addr_cd1}'
virtio_net:
virtio_net:
nic_pci_addr_nic1 = 0xa
menu_option5 = "net pci ethernet ${nic_pci_addr_nic1}"
menu_option5 = "net pci ethernet ${nic_pci_addr_nic1}"
spapr-vlan:
spapr-vlan:
spapr_vlan_reg = 0x71000003
spapr_vlan_reg = 0x71000003
nic_extra_params_nic1 = 'reg=${spapr_vlan_reg}'
nic_extra_params_nic1 = 'reg=${spapr_vlan_reg}'
menu_option5 = "net vdevice l-lan ${spapr_vlan_reg}"
menu_option5 = "net vdevice l-lan ${spapr_vlan_reg}"
send_keys = 'f12'
start_f12 = 'Select boot device'
end_f12 = ' net : '
start_select = 'Trying to load'
end_select = 'Successfully loaded'
boot_dev_num = 5
boot_dev_num = 5
menu_option1 = "cdrom pci scsi ${virtio_scsi_pci_addr_cd1}"
menu_option1 = "cdrom pci scsi ${virtio_scsi_pci_addr_cd1}"
menu_option2 = "disk pci scsi ${drive_pci_addr_stg0}"
menu_option2 = "disk pci scsi ${drive_pci_addr_stg0}"
menu_option3 = "disk pci scsi ${virtio_scsi_pci_addr_image1}"
menu_option3 = "disk pci scsi ${virtio_scsi_pci_addr_image1}"
menu_option4 = "disk vdevice v-scsi ${spapr_vscsi_reg}"
menu_option4 = "disk vdevice v-scsi ${spapr_vscsi_reg}"
bootable_index = 3
bootable_index = 3
- with_vscsi_cdrom:
only spapr_vscsi
only virtio_net
spapr_vscsi_reg = 0x71000001
bus_extra_params_image1 = 'reg=${spapr_vscsi_reg}'
drive_bus_cd1 = 0
drive_port_cd1 = 1
boot_dev_num = 3
menu_option1 = "cdrom vdevice v-scsi ${spapr_vscsi_reg}"
menu_option2 = "disk vdevice v-scsi ${spapr_vscsi_reg}"
menu_option3 = "net pci ethernet ${nic_pci_addr_nic1}"
bootable_index = 2
variants:
- with_scsi_id:
variants:
- with_id_0:
drive_unit_cd1 = 0
- with_id_63:
drive_unit_cd1 = 63
- with_channel_id:
variants:
- with_id_0:
blk_extra_params_cd1 = channel=0
- with_id_7:
blk_extra_params_cd1 = channel=7
- send_boot:
- send_boot:
only virtio_scsi
send_keys = 'boot'
send_keys = 'boot'
bootindex_image1 = 0
bootindex_image1 = 0
start_boot = 'Trying to load'
start_boot = 'Trying to load'
end_boot = 'Successfully loaded'
end_boot = 'Successfully loaded'
- send_reset_all:
- send_reset_all:
only virtio_scsi
send_keys = 'reset-all'
send_keys = 'reset-all'
start_reset_all = '0 >'
start_reset_all = '0 >'
end_reset_all = 'Successfully loaded'
end_reset_all = 'Successfully loaded'
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录