[Bug 1940453] Re: libguestfs: virt-make-fs fails on RISC-V
Graham Inggs
1940453 at bugs.launchpad.net
Thu Sep 9 13:16:40 UTC 2021
** Changed in: libguestfs (Ubuntu)
Assignee: (unassigned) => Graham Inggs (ginggs)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1940453
Title:
libguestfs: virt-make-fs fails on RISC-V
Status in libguestfs package in Ubuntu:
In Progress
Bug description:
On RISC-V we have no KVM support yet.
LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 \
virt-make-fs --partition=gpt --size=+1M --type=vfat \
directory/ file.img
fails with
/usr/bin/qemu-system-riscv64 \
-global virtio-blk-pci.scsi=off \
-no-user-config \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-m 1280 \
-no-reboot \
-rtc driftfix=slew \
-kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
-initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0 \
-device virtio-scsi-pci,id=scsi \
-drive file=file.img,cache=writeback,format=raw,id=hd0,if=none \
-device scsi-hd,drive=hd0 \
-drive file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-chardev socket,path=/run/user/1000/libguestfsDDkZA7/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=4000 printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=446eed97-23e2-4547-8f1a-288406261495 selinux=0 guestfs_verbose=1 TERM=xterm-256color"
qemu-system-riscv64: -enable-fips: warning: -enable-fips is deprecated, please build QEMU with the `libgcrypt` library as the cryptography provider to enable FIPS compliance
qemu-system-riscv64: invalid accelerator kvm
qemu-system-riscv64: falling back to tcg
qemu-system-riscv64: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci'
libguestfs: error: appliance closed the connection unexpectedly, see earlier error messages
libguestfs: child_cleanup: 0x2ae5d0ae80: child process died
libguestfs: sending SIGTERM to process 74693
libguestfs: error: /usr/bin/qemu-system-riscv64 exited with error status 1, see debug messages above
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1940453/+subscriptions
More information about the Ubuntu-sponsors
mailing list