Hi, I followed this
https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/running-chromeos-image-under-virtual-machines to setup chromiumOS with kvm.
When boot with ./bin/cros_start_vm, it prompts the following errors:
src/scripts$ sudo ./bin/cros_start_vm --image_path=../build/images/amd64-generic/latest/chromiumos_qemu_image.bin
INFO : QEMU binary: /g1/cros/chroot/usr/bin/qemu-system-x86_64
INFO : QEMU version: QEMU emulator version 2.6.0, Copyright (c) 2003-2008 Fabrice Bellard
Starting a KVM instance
INFO : Launching: /g1/cros/chroot/usr/bin/qemu-system-x86_64 -enable-kvm -m 2G -smp 4 -vga cirrus -pidfile /tmp/kvm.2792.pid -chardev pipe,id=control_pipe,path=/tmp/kvm.2792.monitor -serial file:/tmp/kvm.2792.serial -mon chardev=control_pipe -daemonize -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:9222-:22 -drive file=../build/images/amd64-generic/latest/chromiumos_qemu_image.bin,index=0,media=disk,cache=unsafe
qemu-system-x86_64: -net user,hostfwd=tcp:127.0.0.1:9222-:22: could not set up host forwarding rule 'tcp:127.0.0.1:9222-:22'
qemu-system-x86_64: -net user,hostfwd=tcp:127.0.0.1:9222-:22: Device 'user' could not be initialized
BTW, I changed the sshd config files as below, and restart service ssh, the errors are the same.
:/etc/ssh$ diff sshd_config_back sshd_config
28c28,29
< PermitRootLogin without-password
---
> #PermitRootLogin without-password
> PermitRootLogin yes
45c46
< PermitEmptyPasswords no
---
> PermitEmptyPasswords yes
68a70
> AllowTcpForwarding yes