Bug 4763 - [NewStart CGS 6.06][aarch64] [iso] NewStart-CGS-Linux-MAIN.V6.06 通过xml文件以及qcow2起虚拟机,启动后进入grub界面,无法安装
Summary: [NewStart CGS 6.06][aarch64] [iso] NewStart-CGS-Linux-MAIN.V6.06 通过xml文件以及qco...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试工具 (show other bugs) 测试工具
Version: unspecified
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: chuyang_94
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-14 11:32 UTC by liuyaqing
Modified: 2023-04-14 11:32 UTC (History)
0 users

See Also:


Attachments
NewStaer-CGS-6.06报错截图 (8.05 MB, image/bmp)
2023-04-14 11:32 UTC, liuyaqing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liuyaqing alibaba_cloud_group 2023-04-14 11:32:50 UTC
Created attachment 706 [details]
NewStaer-CGS-6.06报错截图

Description of problem:
使用iso镜像 NewStart-CGS-Linux-MAIN.V6.06.02B5-an8-aarch64.dvd.iso进行安装虚拟机测试,在配置完成xml文件和创建完成qcow2后,执行virsh create xml文件,虚拟机启动,进入了grub界面,无法进行安装,截图见附件

Steps to Reproduce:
1. 创建并修改xml文件
2. 创建qcow2   qemu-img create -f qcow2 /DiskPath/DiskName.qcow2 40G
3. 启动虚拟机 virsh create xml文件

Actual results:
启动虚拟机后进入grub界面,无法继续安装

Expected results:
正常进入安装界面,安装完成后能正常登录

Additional info:
xml文件内容如下:
<domain type="kvm">
    <name>newstart-CGS-6.06</name>
    <memory>16777216</memory>
    <vcpu placement="static" current="4">4</vcpu>
    <cpu mode='host-passthrough'>
        <topology sockets='1' cores='4' threads='1'/>
    </cpu>
    <os firmware='efi'>   <!-- UEFI安装 -->
        <type arch="aarch64" machine="virt-rhel7.6.0">hvm</type>
        <loader readonly='yes' secure='no' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
        <nvram template='/usr/share/AAVMF/AAVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/an8u2-gui_VARS.fd</nvram>
        <boot dev='hd'/>
        <boot dev='cdrom'/>
    </os>
    <features>
        <acpi/>
        <pae/>
    </features>
    <clock offset="localtime" timezone="Asia/Shanghai">
        <timer name="rtc" tickpolicy="catchup" track="guest"/>
        <timer name="pit" tickpolicy="delay"/>
        <timer name="hpet" present="no"/>
    </clock>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>restart</on_crash>
    <devices>
        <emulator>/usr/bin/qemu-kvm</emulator>
        <disk type='file' device='cdrom'>
            <driver name='qemu' type='raw'/>
            <source file='/disk1/liuyaqing/NewStart-CGS-Linux-MAIN.V6.06.02B5-an8-aarch64.dvd.iso'/>
            <target dev="vdc" bus="virtio"/>
        </disk>
        <disk type="file" device="disk">
            <driver name="qemu" type="qcow2" cache="none" dataplane="on" io="native"/>
            <source file="/disk1/liuyaqing/newstart-CGS-6.06.qcow2"/>
            <target dev="vda" bus="virtio"/>
        </disk>
        <interface type='network'>
            <source network='default'/>
            <model type='virtio'/>
        </interface>
        <console type="pty">
            <target type="serial"/>
        </console>
        <console type="pty">
            <target type="virtio"/>
        </console>
        <video>
            <model type='cirrus' vram='9216' heads='1'/>
            <alias name='video0'/>
        </video>
        <input type='tablet' bus='usb'/>
        <input type='mouse' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes'>
            <listen type='address' address='0.0.0.0'/>
        </graphics>
        <memballoon model="none"/>
    </devices>
</domain>