Arc-Compute/LibVF.IO

Creating a new VM Fails - Ubuntu 20.04.3

srikargottipati opened this issue · 1 comments

Hi. I'm trying to install install a Windows 10 VM using libvf.io and I'm following the instructions from here. This is the inxi output of the machine . I was successfully able to complete till Step 5.2, but when I try to create a new VM as in 5.3.1 with the arcd create command, it does nothing.

Here is what I see in the ~/.local/libvf.io/logs/arcd logs.

[2021-10-29 15:56:13] - INFO: NOTE: If we ask for a password it is your sudo password,
[2021-10-29 15:56:13] - INFO:       we currently assume you use sudo and not doas or somthing
[2021-10-29 15:56:13] - INFO:       else.
[2021-10-29 15:56:18] - INFO: Executing: cd /home/whatever
[2021-10-29 15:56:13] - INFO: NOTE: If we ask for a password it is your sudo password,
[2021-10-29 15:56:13] - INFO:       we currently assume you use sudo and not doas or somthing
[2021-10-29 15:56:13] - INFO:       else.
[2021-10-29 15:56:18] - INFO: Executing: cd /home/whatever
[2021-10-29 15:56:18] - INFO: Executing: /bin/qemu-system-x86_64 -D /home/whatever/.local/libvf.io/logs/qemu/f8d2df1d-aa5d-4607-875e-201405e0583e-session.txt -no-hpet -uuid f8d2df1d-aa5d-4607-875e-201405e0583e -machine pc-q35-4.2,accel=kvm,usb=off,vmport=off,dump-guest-core=off -cpu host,ss=on,vmx=on,pcid=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaveopt=on,pdpe1gb=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,hv-vapic,hv-spinlocks=0x1fff,hv-vendor-id=1234567890ab,kvm=off,topoext=on -rtc clock=host,base=localtime -m 8192 -smp cores=4,threads=1,sockets=1 -hda /home/whatever/.local/libvf.io/live/f8d2df1d-aa5d-4607-875e-201405e0583e --enable-kvm -device vfio-pci,id=hostdev0,sysfsdev=/sys/bus/mdev/devices/6bf0d5eb-6e94-4612-a781-1b8c23a6e539,display=off -device rtl8139,netdev=net0 -netdev user,id=net0,hostfwd=tcp::2222-:22 -qmp unix:/tmp/sockets/f8d2df1d-aa5d-4607-875e-201405e0583e/main.sock,server,nowait -qmp unix:/tmp/sockets/f8d2df1d-aa5d-4607-875e-201405e0583e/master.sock,server,nowait -cdrom Win10_21H1_English_x64.iso '-set' device.hostdev0.x-pci-device-id=6960 &
[2021-10-29 16:00:31] - INFO: sudo: unable to read password: Input/output error
[2021-10-29 16:00:31] - INFO: 
[2021-10-29 16:00:31] - INFO: 
[2021-10-29 16:00:32] - INFO: 
[2021-10-29 16:00:32] - INFO: 
[2021-10-29 16:00:32] - INFO: 
[2021-10-29 16:00:33] - INFO: 
[2021-10-29 16:00:33] - INFO: 
[2021-10-29 16:00:33] - INFO:

and the blank infos continue for ever. Not sure what the issue is. The yaml file is nothing special again, with just edits to tweak vRam settings for the VM. Can someone please help me on resolving this issue?

Thanks for pointing this out. There was a bug in a branch called feature/sudo-daemon that we merged to master without doing enough user testing first. We rolled back those changes and we'll do more testing before rolling that feature out. :)