From owner-freebsd-virtualization@freebsd.org Tue Jun 16 16:39:24 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCB5F343307 for ; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49mYnS57YHz4LH4 for ; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AFFA0342F7B; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AFB22342CFE for ; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mYnS49zDz4LBf for ; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8AD57122C0 for ; Tue, 16 Jun 2020 16:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05GGdOTp041351 for ; Tue, 16 Jun 2020 16:39:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05GGdON1041350 for virtualization@FreeBSD.org; Tue, 16 Jun 2020 16:39:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 247320] Assertion failed: (iov[0].iov_len == sizeof(struct virtio_blk_hdr)), function pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 225. Date: Tue, 16 Jun 2020 16:39:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bugs-syssec@rub.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 16:39:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247320 Bug ID: 247320 Summary: Assertion failed: (iov[0].iov_len =3D=3D sizeof(struct virtio_blk_hdr)), function pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 225. Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bugs-syssec@rub.de Created attachment 215621 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215621&action= =3Dedit virtio_blk_4.zip To reproduce run the following commands: ``` bhyvectl --vm=3Dtestvm --destroy bhyve.full -s 2:0,ahci-cd,hypertrash_os_bios_crash.iso -w -H -s 0:0,hostbri= dge -s 1:0,lpc -l com1,stdio -s 3,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600 -c 1 = -m 320M -s 4:0,virtio-blk,disk.img -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd testvm ``` bhyve version: ``` # freebsd 12.1 $ svnlite checkout https://svn.freebsd.org/base/releng/12.1 /usr/src $ cd /usr/src/usr.sbin/bhyve/; make -m /usr/src/share/mk $ ls /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve/bhyve.full ``` setup: ``` kldload vmm dd if=3D/dev/zero of=3Ddisk.img bs=3D1024 count=3D1024 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=