登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
30
Star
71
Fork
382
openEuler
/
qemu
代码
Issues
38
Pull Requests
13
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【qemu-system-aarch64】arm64版本的qemu使用floppy软盘的时候报错,是不是arm的qemu不支持软盘?
待办的
#I8IHC4
任务
jiemingshi
创建于
2023-11-22 11:45
我有两个版本的环境,都是arm的,一个是4.1版本的官方的libvirt+qemu,一个是6.2版本欧拉的libvirt+qemu。在6.2版本上,使用这个2.xml: ``` <domain type="kvm" id="0"> <name>66666123</name> <uuid>e9c377e5-f765-48de-b97d-cfe70e917900</uuid> <maxMemory unit="KiB" slots="64">536870912</maxMemory> <memory unit="KiB">2097152</memory> <currentMemory unit="MiB">2048</currentMemory> <vcpu current="2">2</vcpu> <os> <type arch="aarch64" machine="virt">hvm</type> <loader readonly="yes" secure="no" type="pflash">/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw</loader> </os> <features> <pae></pae> <acpi></acpi> </features> <cpu mode="host-passthrough"> <topology sockets="1" cores="2" threads="1"></topology> <numa> <cell id="0" cpus="0-1" memory="2048" unit="MiB"></cell> </numa> </cpu> <clock offset="utc"></clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk device="cdrom"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="hdd" bus="scsi"></target> <readonly></readonly> <boot order="1"></boot> <address type="drive" controller="1" bus="0" target="0" unit="3"></address> </disk> <disk device="floppy"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="fda" bus="fdc"></target> <readonly></readonly> </disk> <controller type="pci" index="0" model="pcie-root"></controller> <controller type="pci" index="1" model="dmi-to-pci-bridge"> <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"></address> </controller> <controller type="pci" index="2" model="pci-bridge"> <address type="pci" domain="0x0000" bus="0x01" slot="0x04" function="0x0"></address> </controller> <controller type="scsi" index="0" model="virtio-scsi"></controller> <controller type="scsi" index="1" model="virtio-scsi"></controller> <controller type="sata" index="0"></controller> <controller type="sata" index="1"></controller> <controller type="usb" index="0" model="piix3-uhci"></controller> <controller type="usb" index="1" model="nec-xhci"></controller> <serial type="pty"> <target type="pci-serial" port="0"></target> </serial> <serial type="pty"> <target type="pci-serial" port="1"></target> </serial> <console type="pty"> <target type="serial" port="0"></target> </console> <console type="pty"> <target type="virtio" port="0"></target> <alias name="console1"></alias> </console> <sound model="ich6"> <codec type="duplex"></codec> </sound> <video> <model type="virtio" vram="49152"></model> </video> <memballoon model="virtio"></memballoon> </devices> </domain> ``` 在命令行执行 virsh create 2.xml  报错:qemu-system-aarch64: -device floppy,unit=0,id=fdc0-0-0: 'floppy' is not a valid device model name 同样的,在官方版本的qemu4.1的环境里面用相同的xml,相同的命令就能成功创建虚拟机。 但是在qemu日志里面也发现了警告  我在amd64的机器上也是这样配的软驱 ``` <disk device="floppy"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="fda" bus="fdc"></target> <readonly></readonly> </disk> ``` 它就能正常开机,正常使用软驱。所以arm的qemu的软驱是不是都不支持呢?
我有两个版本的环境,都是arm的,一个是4.1版本的官方的libvirt+qemu,一个是6.2版本欧拉的libvirt+qemu。在6.2版本上,使用这个2.xml: ``` <domain type="kvm" id="0"> <name>66666123</name> <uuid>e9c377e5-f765-48de-b97d-cfe70e917900</uuid> <maxMemory unit="KiB" slots="64">536870912</maxMemory> <memory unit="KiB">2097152</memory> <currentMemory unit="MiB">2048</currentMemory> <vcpu current="2">2</vcpu> <os> <type arch="aarch64" machine="virt">hvm</type> <loader readonly="yes" secure="no" type="pflash">/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw</loader> </os> <features> <pae></pae> <acpi></acpi> </features> <cpu mode="host-passthrough"> <topology sockets="1" cores="2" threads="1"></topology> <numa> <cell id="0" cpus="0-1" memory="2048" unit="MiB"></cell> </numa> </cpu> <clock offset="utc"></clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk device="cdrom"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="hdd" bus="scsi"></target> <readonly></readonly> <boot order="1"></boot> <address type="drive" controller="1" bus="0" target="0" unit="3"></address> </disk> <disk device="floppy"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="fda" bus="fdc"></target> <readonly></readonly> </disk> <controller type="pci" index="0" model="pcie-root"></controller> <controller type="pci" index="1" model="dmi-to-pci-bridge"> <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"></address> </controller> <controller type="pci" index="2" model="pci-bridge"> <address type="pci" domain="0x0000" bus="0x01" slot="0x04" function="0x0"></address> </controller> <controller type="scsi" index="0" model="virtio-scsi"></controller> <controller type="scsi" index="1" model="virtio-scsi"></controller> <controller type="sata" index="0"></controller> <controller type="sata" index="1"></controller> <controller type="usb" index="0" model="piix3-uhci"></controller> <controller type="usb" index="1" model="nec-xhci"></controller> <serial type="pty"> <target type="pci-serial" port="0"></target> </serial> <serial type="pty"> <target type="pci-serial" port="1"></target> </serial> <console type="pty"> <target type="serial" port="0"></target> </console> <console type="pty"> <target type="virtio" port="0"></target> <alias name="console1"></alias> </console> <sound model="ich6"> <codec type="duplex"></codec> </sound> <video> <model type="virtio" vram="49152"></model> </video> <memballoon model="virtio"></memballoon> </devices> </domain> ``` 在命令行执行 virsh create 2.xml  报错:qemu-system-aarch64: -device floppy,unit=0,id=fdc0-0-0: 'floppy' is not a valid device model name 同样的,在官方版本的qemu4.1的环境里面用相同的xml,相同的命令就能成功创建虚拟机。 但是在qemu日志里面也发现了警告  我在amd64的机器上也是这样配的软驱 ``` <disk device="floppy"> <driver name="qemu" type="raw" io="threads" queues="0"></driver> <target dev="fda" bus="fdc"></target> <readonly></readonly> </disk> ``` 它就能正常开机,正常使用软驱。所以arm的qemu的软驱是不是都不支持呢?
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
sig/Virt
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (61)
标签 (366)
master
qemu-8.2.0
openEuler-20.03-LTS-Next
qemu-6.2.0
riscv
openEuler-20.03-LTS-SP1
staging
staging-8.2
staging-7.2
staging-8.1
stable-8.1
stable-7.2
stable-8.0
staging-8.0
block
qemu-6.2.0-hotupgrade
openEuler-20.03-LTS
stable-7.2-staging
stable-8.0-staging
qemu-5.0.0-dpu
qemu-4.1.0
stable-6.1
stable-6.0
stable-6.0-staging
openEuler-21.03
qemu-4.1-4.2
openEuler-20.09
stable-5.0
openEuler-RISCV
stable-4.2
stable-4.1
stable-4.0
stable-3.1
stable-3.0
stable-2.12
stable-2.11
stable-2.10
stable-2.9
stable-2.8
stable-2.7
stable-2.6
stable-2.5
stable-2.4
stable-2.3
stable-2.2
stable-2.1
stable-2.0
stable-1.7
stable-1.6
stable-1.5
stable-1.4
stable-1.3
stable-1.2
stable-1.1
stable-1.0
stable-0.15
stable-0.14
stable-0.13
stable-0.12
stable-0.11
stable-0.10
v8.1.4
v7.2.8
v8.2.0
v8.2.0-rc4
v8.2.0-rc3
v8.2.0-rc2
v8.2.0-rc1
v7.2.7
v8.1.3
v8.2.0-rc0
v8.1.2
v8.1.1
v7.2.6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1
release_0_9_0
v0.9.0
release_0_8_2
v0.8.2
release_0_8_1
v0.8.1
release_0_7_1
v0.7.1
release_0_7_0
v0.7.0
release_0_6_1
v0.6.1
release_0_6_0
v0.6.0
release_0_5_1
v0.5.1
v0.5.0
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
v0.2.0
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.1
v0.1.0
initial
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
C
1
https://gitee.com/openeuler/qemu.git
git@gitee.com:openeuler/qemu.git
openeuler
qemu
qemu
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册