onie icon indicating copy to clipboard operation
onie copied to clipboard

Could not set up host forwarding rule

Open dingrui37 opened this issue 6 years ago • 0 comments

I want to install onie to kvm, when I run the mk-vm.sh script on pyhsical machine, it doesn't work.

dingrui@gdcni:~/onie$ sudo ./mk-vm.sh 
ERROR: kvm died.
qemu-system-x86_64: -netdev user,id=onienet,hostfwd=:0.0.0.0:3040-:22: could not set up host forwarding rule ':0.0.0.0:3040-:22'
qemu-system-x86_64: -netdev user,id=onienet,hostfwd=:0.0.0.0:3040-:22: Device 'user' could not be initialized

There are many virtual machines on this phsical machine.

dingrui@gdcni:~/onie$ virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     dingrui                        running
 ....
 ....

dingrui37 avatar Nov 12 '19 01:11 dingrui37