Bug 1925 - qemu-kvm could not boot anolis VHD image
Summary: qemu-kvm could not boot anolis VHD image
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-19 12:08 UTC by BugKeeper
Modified: 2022-08-19 12:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BugKeeper hygon_group 2022-08-19 12:08:06 UTC
Description of problem:

qemu-kvm could not boot the anolis VHD image

Version-Release number of selected component (if applicable):

Name         : qemu-kvm
Epoch        : 15
Version      : 6.2.0
Release      : 11.0.1.module+an8.6.0+10826+dafe88d2.2
Architecture : x86_64

kernel:        5.10.84-10.2.an8.x86_64

How reproducible:


Steps to Reproduce:
1. wget https://anolis.oss-cn-hangzhou.aliyuncs.com/anolisos_8_6_x64_20G_anck_uefi_community_alibase_20220817.vhd

2. sudo /usr/libexec/qemu-kvm -enable-kvm -cpu host -smp 4 -m 4096 -drive if=pflash,format=raw,unit=0,file=/usr/share/edk2/ovmf/OVMF_CODE.cc.fd,readonly=on -hda anolisos_8_6_x64_20G_anck_uefi_community_alibase_20220817.vhd -name test -monitor stdio


Actual results:

(qemu) qemu-kvm: Block node is read-only

Expected results:

the VM boot succeed with no exception

Additional info:

the same args used by the upstream qemu v6.2.0 can be worked well