diff for duplicates of <87muj28u65.fsf@zen.linaroharston> diff --git a/a/1.txt b/N1/1.txt index 33e18cc..0dfdde4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,3 @@ - Jerry <ubuntu@mail.jerryxiao.cc> writes: > [jerry@jerry-n1 aarch64]$ du -b * @@ -28,7 +27,13 @@ You can use: Are you sure your libvirt invocation is properly pointing at your new re-sized blobs? WFM here on master: - ./aarch64-softmmu/qemu-system-aarch64 -cpu max -machine type=virt,virtualization=on -display none -m 4096 -serial mon:stdio -netdev user,id=unet,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=unet -device virtio-scsi-pci -blockdev driver=raw,node-name=hd,discard=unmap,file.driver=host_device,file.filename=/dev/zen-disk/debian-buster-arm64 -device scsi-hd,drive=hd -bios /usr/share/AAVMF/AAVMF_CODE.fd + ./aarch64-softmmu/qemu-system-aarch64 -cpu max -machine +type=virt,virtualization=on -display none -m 4096 -serial mon:stdio +-netdev user,id=unet,hostfwd=tcp::2222-:22 -device virtio-net- +pci,netdev=unet -device virtio-scsi-pci -blockdev driver=raw,node- +name=hd,discard=unmap,file.driver=host_device,file.filename=/dev/zen- +disk/debian-buster-arm64 -device scsi-hd,drive=hd -bios +/usr/share/AAVMF/AAVMF_CODE.fd Where: @@ -40,3 +45,92 @@ ls -l /usr/share/AAVMF/* -- Alex Bennée + +-- +You received this bug notification because you are a member of qemu- +devel-ml, which is subscribed to QEMU. +https://bugs.launchpad.net/bugs/1831115 + +Title: + qemu 4.0.0 on aarch64: uefi firmware oversize + +Status in QEMU: + New + +Bug description: + I'd like to enable uefi in my virtual machine, however qemu is always showing the same error: qemu-system-aarch64: Initialization of device cfi.pflash01 failed: device requires 67108864 bytes, block backend provides 786432 bytes + It's clearly impossible to fit a uefi firmware into 786432 bytes. + + Environment: qemu-system-aarch64 with kvm on an amlogic s905d aarch64 + dev board, running archlinuxarm, qemu in the repository is compiled + with https://download.qemu.org/qemu-4.0.0.tar.xz + + (My AAVMF_CODE.fd and AAVMF_VARS.fd are extracted from debian package + qemu-efi-aarch64 0~20181115.85588389-3) + + Below is my libvirt log. + + 2019-05-30 15:07:44.216+0000: starting up libvirt version: 5.3.0, qemu version: 4.0.0, kernel: 4.19.46-1-ARCH, hostname: jerry-n1.localdomain + LC_ALL=C \ + PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \ + HOME=/var/lib/libvirt/qemu/domain-2-debiantesting \ + XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.local/share \ + XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.cache \ + XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.config \ + QEMU_AUDIO_DRV=none \ + /usr/bin/qemu-system-aarch64 \ + -name guest=debiantesting,debug-threads=on \ + -S \ + -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-debiantesting/master-key.aes \ + -machine virt-4.0,accel=kvm,usb=off,dump-guest-core=off,gic-version=2 \ + -cpu host \ + -drive file=/opt/ovmf/aarch64/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \ + -drive file=/var/lib/libvirt/qemu/nvram/debiantesting_VARS.fd,if=pflash,format=raw,unit=1 \ + -m 1024 \ + -overcommit mem-lock=off \ + -smp 4,sockets=4,cores=1,threads=1 \ + -uuid 508d100a-b4e5-4199-9ff9-ac6d40fe2896 \ + -display none \ + -no-user-config \ + -nodefaults \ + -chardev socket,id=charmonitor,fd=25,server,nowait \ + -mon chardev=charmonitor,id=monitor,mode=control \ + -rtc base=utc \ + -no-reboot \ + -boot strict=on \ + -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \ + -device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \ + -device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \ + -device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \ + -device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \ + -device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \ + -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \ + -device virtio-scsi-pci,id=scsi0,bus=pci.3,addr=0x0 \ + -device virtio-serial-pci,id=virtio-serial0,bus=pci.4,addr=0x0 \ + -drive file=/mnt/hddp1/jerry/libvirt/aarch64-images/debiantesting.qcow2,format=qcow2,if=none,id=drive-scsi0-0-0-0 \ + -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2 \ + -drive file=/mnt/hddp1/jerry/libvirt/aarch64-iso/debian-testing-arm64-netinst.iso,format=raw,if=none,id=drive-scsi0-0-0-1,readonly=on \ + -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=1,device_id=drive-scsi0-0-0-1,drive=drive-scsi0-0-0-1,id=scsi0-0-0-1,bootindex=1 \ + -netdev tap,fd=27,id=hostnet0 \ + -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:28:6d,bus=pci.1,addr=0x0 \ + -chardev pty,id=charserial0 \ + -serial chardev:charserial0 \ + -chardev socket,id=charchannel0,fd=28,server,nowait \ + -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ + -object rng-random,id=objrng0,filename=/dev/urandom \ + -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.5,addr=0x0 \ + -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ + -msg timestamp=on + 2019-05-30 15:07:44.216+0000: Domain id=2 is tainted: host-cpu + char device redirected to /dev/pts/2 (label charserial0) + 2019-05-30T15:07:46.701125Z qemu-system-aarch64: Initialization of device cfi.pflash01 failed: device requires 67108864 bytes, block backend provides 786432 bytes + 2019-05-30 15:07:46.779+0000: shutting down, reason=failed + (END) + + # /etc/libvirt/qemu.conf + nvram = [ + "/opt/ovmf/aarch64/AAVMF_CODE.fd:/opt/ovmf/aarch64/AAVMF_VARS.fd" + ] + +To manage notifications about this bug go to: +https://bugs.launchpad.net/qemu/+bug/1831115/+subscriptions diff --git a/a/content_digest b/N1/content_digest index a1a3846..e0f5c6b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,12 +2,10 @@ "ref\0155931574363.8426.10336516680800433530.malone@wampee.canonical.com\0" "From\0Alex Benn\303\251e <alex.bennee@linaro.org>\0" "Subject\0Re: [Qemu-devel] [Bug 1831115] Re: qemu 4.0.0 on aarch64: uefi firmware oversize\0" - "Date\0Fri, 31 May 2019 17:28:50 +0100\0" - "To\0Bug 1831115 <1831115@bugs.launchpad.net>\0" - "Cc\0qemu-devel@nongnu.org\0" + "Date\0Fri, 31 May 2019 16:28:50 -0000\0" + "To\0qemu-devel@nongnu.org\0" "\00:1\0" "b\0" - "\n" "Jerry <ubuntu@mail.jerryxiao.cc> writes:\n" "\n" "> [jerry@jerry-n1 aarch64]$ du -b *\n" @@ -37,7 +35,13 @@ "Are you sure your libvirt invocation is properly pointing at your new\n" "re-sized blobs? WFM here on master:\n" "\n" - " ./aarch64-softmmu/qemu-system-aarch64 -cpu max -machine type=virt,virtualization=on -display none -m 4096 -serial mon:stdio -netdev user,id=unet,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=unet -device virtio-scsi-pci -blockdev driver=raw,node-name=hd,discard=unmap,file.driver=host_device,file.filename=/dev/zen-disk/debian-buster-arm64 -device scsi-hd,drive=hd -bios /usr/share/AAVMF/AAVMF_CODE.fd\n" + " ./aarch64-softmmu/qemu-system-aarch64 -cpu max -machine\n" + "type=virt,virtualization=on -display none -m 4096 -serial mon:stdio\n" + "-netdev user,id=unet,hostfwd=tcp::2222-:22 -device virtio-net-\n" + "pci,netdev=unet -device virtio-scsi-pci -blockdev driver=raw,node-\n" + "name=hd,discard=unmap,file.driver=host_device,file.filename=/dev/zen-\n" + "disk/debian-buster-arm64 -device scsi-hd,drive=hd -bios\n" + "/usr/share/AAVMF/AAVMF_CODE.fd\n" "\n" "Where:\n" "\n" @@ -48,6 +52,95 @@ "-rw-r--r-- 1 root root 67108864 Mar 16 00:37 /usr/share/AAVMF/AAVMF_VARS.fd\n" "\n" "--\n" - "Alex Benn\303\251e" + "Alex Benn\303\251e\n" + "\n" + "-- \n" + "You received this bug notification because you are a member of qemu-\n" + "devel-ml, which is subscribed to QEMU.\n" + "https://bugs.launchpad.net/bugs/1831115\n" + "\n" + "Title:\n" + " qemu 4.0.0 on aarch64: uefi firmware oversize\n" + "\n" + "Status in QEMU:\n" + " New\n" + "\n" + "Bug description:\n" + " I'd like to enable uefi in my virtual machine, however qemu is always showing the same error: qemu-system-aarch64: Initialization of device cfi.pflash01 failed: device requires 67108864 bytes, block backend provides 786432 bytes \n" + " It's clearly impossible to fit a uefi firmware into 786432 bytes. \n" + "\n" + " Environment: qemu-system-aarch64 with kvm on an amlogic s905d aarch64\n" + " dev board, running archlinuxarm, qemu in the repository is compiled\n" + " with https://download.qemu.org/qemu-4.0.0.tar.xz\n" + "\n" + " (My AAVMF_CODE.fd and AAVMF_VARS.fd are extracted from debian package\n" + " qemu-efi-aarch64 0~20181115.85588389-3)\n" + "\n" + " Below is my libvirt log.\n" + "\n" + " 2019-05-30 15:07:44.216+0000: starting up libvirt version: 5.3.0, qemu version: 4.0.0, kernel: 4.19.46-1-ARCH, hostname: jerry-n1.localdomain\n" + " LC_ALL=C \\\n" + " PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \\\n" + " HOME=/var/lib/libvirt/qemu/domain-2-debiantesting \\\n" + " XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.local/share \\\n" + " XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.cache \\\n" + " XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-debiantesting/.config \\\n" + " QEMU_AUDIO_DRV=none \\\n" + " /usr/bin/qemu-system-aarch64 \\\n" + " -name guest=debiantesting,debug-threads=on \\\n" + " -S \\\n" + " -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-debiantesting/master-key.aes \\\n" + " -machine virt-4.0,accel=kvm,usb=off,dump-guest-core=off,gic-version=2 \\\n" + " -cpu host \\\n" + " -drive file=/opt/ovmf/aarch64/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \\\n" + " -drive file=/var/lib/libvirt/qemu/nvram/debiantesting_VARS.fd,if=pflash,format=raw,unit=1 \\\n" + " -m 1024 \\\n" + " -overcommit mem-lock=off \\\n" + " -smp 4,sockets=4,cores=1,threads=1 \\\n" + " -uuid 508d100a-b4e5-4199-9ff9-ac6d40fe2896 \\\n" + " -display none \\\n" + " -no-user-config \\\n" + " -nodefaults \\\n" + " -chardev socket,id=charmonitor,fd=25,server,nowait \\\n" + " -mon chardev=charmonitor,id=monitor,mode=control \\\n" + " -rtc base=utc \\\n" + " -no-reboot \\\n" + " -boot strict=on \\\n" + " -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \\\n" + " -device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \\\n" + " -device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \\\n" + " -device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \\\n" + " -device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \\\n" + " -device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \\\n" + " -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \\\n" + " -device virtio-scsi-pci,id=scsi0,bus=pci.3,addr=0x0 \\\n" + " -device virtio-serial-pci,id=virtio-serial0,bus=pci.4,addr=0x0 \\\n" + " -drive file=/mnt/hddp1/jerry/libvirt/aarch64-images/debiantesting.qcow2,format=qcow2,if=none,id=drive-scsi0-0-0-0 \\\n" + " -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2 \\\n" + " -drive file=/mnt/hddp1/jerry/libvirt/aarch64-iso/debian-testing-arm64-netinst.iso,format=raw,if=none,id=drive-scsi0-0-0-1,readonly=on \\\n" + " -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=1,device_id=drive-scsi0-0-0-1,drive=drive-scsi0-0-0-1,id=scsi0-0-0-1,bootindex=1 \\\n" + " -netdev tap,fd=27,id=hostnet0 \\\n" + " -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:28:6d,bus=pci.1,addr=0x0 \\\n" + " -chardev pty,id=charserial0 \\\n" + " -serial chardev:charserial0 \\\n" + " -chardev socket,id=charchannel0,fd=28,server,nowait \\\n" + " -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \\\n" + " -object rng-random,id=objrng0,filename=/dev/urandom \\\n" + " -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.5,addr=0x0 \\\n" + " -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \\\n" + " -msg timestamp=on\n" + " 2019-05-30 15:07:44.216+0000: Domain id=2 is tainted: host-cpu\n" + " char device redirected to /dev/pts/2 (label charserial0)\n" + " 2019-05-30T15:07:46.701125Z qemu-system-aarch64: Initialization of device cfi.pflash01 failed: device requires 67108864 bytes, block backend provides 786432 bytes\n" + " 2019-05-30 15:07:46.779+0000: shutting down, reason=failed\n" + " (END)\n" + "\n" + " # /etc/libvirt/qemu.conf \n" + " nvram = [\n" + " \"/opt/ovmf/aarch64/AAVMF_CODE.fd:/opt/ovmf/aarch64/AAVMF_VARS.fd\"\n" + " ]\n" + "\n" + "To manage notifications about this bug go to:\n" + https://bugs.launchpad.net/qemu/+bug/1831115/+subscriptions -72392e9dfb76389a45b5b7636e4cf68ef32baa04b72d573d51400950d4d7987c +afe706bbef4a3379be7dac95acb19f93f66bb27a337ad87f08b8d1b3a0884af1
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.