From owner-freebsd-arm@freebsd.org Thu Jul 27 14:30:02 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2566DCC478 for ; Thu, 27 Jul 2017 14:30:02 +0000 (UTC) (envelope-from abologna@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAD0F7C35D for ; Thu, 27 Jul 2017 14:30:02 +0000 (UTC) (envelope-from abologna@redhat.com) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC35FC0DA34C for ; Thu, 27 Jul 2017 14:30:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BC35FC0DA34C Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=abologna@redhat.com Received: from inaba.usersys.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 268FC5C6C5 for ; Thu, 27 Jul 2017 14:30:00 +0000 (UTC) Message-ID: <1501165794.4378.8.camel@redhat.com> Subject: virtio-net issues on aarch64 QEMU/KVM From: Andrea Bolognani To: freebsd-arm@freebsd.org Date: Thu, 27 Jul 2017 16:29:54 +0200 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 27 Jul 2017 14:30:02 +0000 (UTC) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2017 14:30:03 -0000 Hi all, I'm trying 11.1-RELEASE on QEMU/KVM, and I'm having some trouble with VirtIO networking. I've imported the official qcow2 image into libvirt by running   # virt-install \     --name freebsd \     --arch aarch64 \     --machine virt \     --ram 2048 \     --vcpus 1 \     --accelerate \     --graphics none \     --features acpi=off \     --os-variant freebsd11.0 \     --import \     --disk path=/var/lib/libvirt/images/freebsd.qcow2,bus=virtio,address.type=virtio-mmio \     --network network=default,model=virtio,address.type=virtio-mmio and the system comes up succesfully; however, when I try to activate the network interface by running   # dhclient vtnet0 the process seems to pretty much just sit there. ^C doesn't help. Needless to say, if I configure vtnet0 to be brought up at boot I never get to the prompt. I have a bunch of Linux guests on the same host and none of them displays the same symptoms. The host is running Linux 4.11, QEMU 2.9 and libvirt 3.2.0. Any help would be greatly appreciated :) Please CC: me on reply as I'm not subscribed to the list. --  Andrea Bolognani / Red Hat / Virtualization