Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
20
Star
29
Fork
145
src-openEuler
/
qemu
Code
Issues
29
Pull Requests
6
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
qemu-img create 非本地文件必然失败
Backlog
#IAZATR
Bug
SirTeddy
Opened this issue
2024-10-23 17:31
**【缺陷描述】:使用qemu-img create 命令创建非本地文件的镜像必然失败** **一、缺陷信息** **【缺陷所属的os版本】** openEuler-22.03-LTS **【内核版本】** kernel-5.10.0-136.86.0.167.oe2203sp1.x86_64 **【缺陷所属软件及版本号】** qemu-6.2.0-91.x86_64 **【环境信息】** X86 **【问题复现步骤】:请描述具体的操作步骤** -bash-5.1# qemu-img create -f rbd rbd:c1_normal/volume1 10G qemu-img: rbd:c1_normal/volume1: Invalid parameter 'cache' 创建如ceph卷之类的非本地文件必然失败 **【实际结果】** 创建如ceph卷之类的非本地文件必然失败 **【期望结果】** 与原生qemu一样支持多种格式的镜像创建 **【缺陷详情及分析指导参考链接】** - 由qemu-img-create-cache-paramter-only-use-for-reg-file.patch和qemu-img-add-qemu-img-direct-create.patch引起该缺陷 is_reg_file函数通过判断文件是否不存在来确定是否常规文件,而rbd、nfs等多种非本地文件格式,均会判断为常规文件,从而强制加上了cache参数。而这些块设备在此场景并不支持cache参数,从而必然报错。 **二、缺陷分析结构反馈** 影响性分析说明: 缺陷严重等级:(Critical/High/Moderate/Low) 缺陷根因说明: 受影响版本排查(受影响/不受影响): openEuler-20.03-LTS-SP4 openEuler-22.03-LTS-SP1 openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS 修复是否涉及abi变化(是/否): openEuler-20.03-LTS-SP4 openEuler-22.03-LTS-SP1 openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS
**【缺陷描述】:使用qemu-img create 命令创建非本地文件的镜像必然失败** **一、缺陷信息** **【缺陷所属的os版本】** openEuler-22.03-LTS **【内核版本】** kernel-5.10.0-136.86.0.167.oe2203sp1.x86_64 **【缺陷所属软件及版本号】** qemu-6.2.0-91.x86_64 **【环境信息】** X86 **【问题复现步骤】:请描述具体的操作步骤** -bash-5.1# qemu-img create -f rbd rbd:c1_normal/volume1 10G qemu-img: rbd:c1_normal/volume1: Invalid parameter 'cache' 创建如ceph卷之类的非本地文件必然失败 **【实际结果】** 创建如ceph卷之类的非本地文件必然失败 **【期望结果】** 与原生qemu一样支持多种格式的镜像创建 **【缺陷详情及分析指导参考链接】** - 由qemu-img-create-cache-paramter-only-use-for-reg-file.patch和qemu-img-add-qemu-img-direct-create.patch引起该缺陷 is_reg_file函数通过判断文件是否不存在来确定是否常规文件,而rbd、nfs等多种非本地文件格式,均会判断为常规文件,从而强制加上了cache参数。而这些块设备在此场景并不支持cache参数,从而必然报错。 **二、缺陷分析结构反馈** 影响性分析说明: 缺陷严重等级:(Critical/High/Moderate/Low) 缺陷根因说明: 受影响版本排查(受影响/不受影响): openEuler-20.03-LTS-SP4 openEuler-22.03-LTS-SP1 openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS 修复是否涉及abi变化(是/否): openEuler-20.03-LTS-SP4 openEuler-22.03-LTS-SP1 openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS
Comments (
2
)
Sign in
to comment
Status
Backlog
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Chuan
Chuan-Zheng
Assignee
Collaborator
+Assign
+Mention
Labels
DEFECT/UNFIXED
sig/Virt
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (32)
Tags (32)
master
openEuler-24.03-LTS-SP3
openEuler-22.03-LTS-SP1
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-Next
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
sync-pr1166-25.09-qemu-user-static-dev-to-openEuler-24.03-LTS-SP2
openEuler-25.09
openEuler-25.03
openEuler-24.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-23.09
openEuler-23.03
openEuler-22.09
openEuler-20.03-LTS-Next
openEuler-20.03-LTS
openEuler-20.03-LTS-SP2
openEuler-21.09
openEuler-21.03
openEuler-20.09
riscv
riscv-tmp
openEuler1.0-base
openEuler1.0
openEuler-25.09-release
openEuler-22.03-LTS-SP3-update-20250718
openEuler-22.03-LTS-SP4-update-20250718
openEuler-24.03-LTS-update-20250718
openEuler-24.03-LTS-SP1-update-20250718
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-24.03-LTS-update-20241115
openEuler-22.03-LTS-SP4-update-before-20241025
openEuler-22.03-LTS-SP4-before-20241025
openEuler-24.03-LTS-update-20241018
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/src-openeuler/qemu.git
git@gitee.com:src-openeuler/qemu.git
src-openeuler
qemu
qemu
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register