ARM: vhost-net support
devimc opened this issue · 1 comments
devimc commented
$ docker run -ti debian bash
docker: Error response from daemon: OCI runtime create failed: qemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net support is not compiled in
qemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net requested but could not be initialized: unknown.
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=debug msg="Creating bridges" source=virtcontainers subsystem=qemu
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=debug msg="Creating UUID" source=virtcontainers subsystem=qemu
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=debug msg="Could not retrieve anything from storage" source=virtcontainers subsystem=hyper
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=info msg="Attaching virtual endpoint" source=virtcontainers subsystem=network
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=info msg="Starting VM" pod-id=b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538 source=virtcontainers subsystem=pod
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=debug default-kernel-parameters="root=/dev/pmem0p1 rootflags=dax,data=ordered,errors=remount-ro rw rootfstype=ext4 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k panic=1 console=hvc0 console=hvc1 initcall_debug iommu=off cryptomgr.notests net.ifnames=0 pci=lastbus=0 debug systemd.show_status=true systemd.log_level=debug" source=virtcontainers subsystem=qemu
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=debug msg="#### {/usr/local/bin/qemu-system-arm context.Background pod-b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538 f8039be7-8247-4203-aef6-be89a1ff835e host {virt } [{unix /run/virtcontainers/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538/mon-f8039be7-8247 true true} {unix /run/virtcontainers/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538/ctl-f8039be7-8247 true true}] [{virtio-serial-pci serial0 false} {socket virtconsole console0 charconsole0 /run/virtcontainers/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538/console.sock false} {nvdimm memory-backend-file mem0 nv0 /usr/share/clear-containers/clear-containers-arm.img 536870912} {socket virtserialport channel0 charch0 /run/virtcontainers/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538/hyper.sock sh.hyper.channel.0 false} {socket virtserialport channel1 charch1 /run/virtcontainers/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538/tty.sock sh.hyper.channel.1 false} {virtio-9p-pci local extra-9p-hyperShared /run/hyper/shared/pods/b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538 hyperShared none false} {macvtap virtio-net-pci network-0 tap0 no no [0x44200f6cd0 0x44200f6cd8 0x44200f6ce0 0x44200f6ce8 0x44200f6cf0 0x44200f6cf8 0x44200f6d00 0x44200f6d08] [0x44200f6d10 0x44200f6d18 0x44200f6d20 0x44200f6d28 0x44200f6d30 0x44200f6d38 0x44200f6d40 0x44200f6d48] true 02:42:ac:11:00:02 false}] {utc slew} none {/usr/share/clear-containers/Image root=/dev/pmem0p1 rootflags=dax,data=ordered,errors=remount-ro rw rootfstype=ext4 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k panic=1 console=hvc0 console=hvc1 initcall_debug iommu=off cryptomgr.notests net.ifnames=0 pci=lastbus=0 debug systemd.show_status=true systemd.log_level=debug init=/usr/lib/systemd/systemd systemd.unit=clear-containers.target systemd.mask=systemd-networkd.service systemd.mask=systemd-networkd.socket ip=::::::b89331901a1cbb44568032de263b05a1039404bcdc9e4658d2d73c72b66fa538::off::} {2048M 2 129896M} {96 96 1 1 0} kvm-pit.lost_tick_policy=discard {true true true true false false true false} [] []}\n" source=virtcontainers subsystem=qemu
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=info msg="Adding extra file [0x44200f6d10 0x44200f6d18 0x44200f6d20 0x44200f6d28 0x44200f6d30 0x44200f6d38 0x44200f6d40 0x44200f6d48 0x44200f6cd0 0x44200f6cd8 0x44200f6ce0 0x44200f6ce8 0x44200f6cf0 0x44200f6cf8 0x44200f6d00 0x44200f6d08]" source=virtcontainers subsystem=qmp
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=error msg="Unable to launch qemu: exit status 1" source=virtcontainers subsystem=qmp
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=error msg="qemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net support is not compiled in\nqemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net requested but could not be initialized\n" source=virtcontainers subsystem=qmp
Feb 09 16:59:09 parsnip cc-runtime[66102]: time="2018-02-09T16:59:09Z" level=error msg="qemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net support is not compiled in\nqemu-system-arm: -netdev tap,id=network-0,vhost=on,vhostfds=3:4:5:6:7:8:9:10,fds=11:12:13:14:15:16:17:18: vhost-net requested but could not be initialized\n" source=runtime
sameo commented
vhost-net support is not compiled in
Your host kernel does not have vhost-net enabled, this is not ARM specific.