metan-ucw / runltp-ng

Minimalistic LTP testrunner
11 stars 16 forks source link

QEMU setup instructions #44

Open bhargavdas opened 3 years ago

bhargavdas commented 3 years ago

I followed the quick start to setup and test runltp-ng using QEMU but faced the error.

bhargav@ubuntu:~/LTP-ng/runltp-ng (master)$ ./runltp-ng --verbose --setup --install=master --repouri=/mnt/ltp --backend=qemu:ram=4G:smp=4:image=/local/vm.qcow2:virtfs=/local:password=123
Using qemu backend; parameters 'ram=4G smp=4 image=/local/vm.qcow2 virtfs=/local password=123'
Starting qemu with: qemu-system-x86_64 -enable-kvm -m 4G -smp 4 -display none -device virtio-rng-pci -chardev stdio,id=tty,logfile=ttyS0-2600.log -serial chardev:tty -serial chardev:transport -chardev file,id=transport,path=transport-2600 -drive if=virtio,cache=unsafe,file=/local/vm.qcow2 -virtfs local,path=/local,mount_tag=host,security_model=mapped-xattr,readonly
open2: exec of qemu-system-x86_64 -enable-kvm -m 4G -smp 4 -display none -device virtio-rng-pci -chardev stdio,id=tty,logfile=ttyS0-2600.log -serial chardev:tty -serial chardev:transport -chardev file,id=transport,path=transport-2600 -drive if=virtio,cache=unsafe,file=/local/vm.qcow2 -virtfs local,path=/local,mount_tag=host,security_model=mapped-xattr,readonly failed: No such file or directory at backend.pm line 328.

I'm not much familiar with QEMU, what am I missing here ? @metan-ucw

metan-ucw commented 3 years ago

This just says that it failed to execute the qemu-system-x86_64 binary because it couldn't be found.

Do you have qemu installed properly? What architecture is this?