From nobody Mon Nov 14 21:25:36 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NB2R43F0Cz4fdbB for ; Mon, 14 Nov 2022 21:25:36 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NB2R41wPsz3kMy for ; Mon, 14 Nov 2022 21:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668461136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y5seAug0HGnMU6ExvUq3O7f3RAs+BJLWnJUiQByxja0=; b=hGgIzmkbOX0afYyehK+0sF14OLBGE4abLXavBTecSsh2rCJJsc5aklifMcCQZ2vTMVK/U4 mtfaJgrQGlD0Z/Wek+xf7PstzV1VNsn8uJTchLwEGuj7wMRhbSyg/bZAYSqfUgpuThimzu pOFxORUFi8FkngKGLag4UDtyJMHq3HwBjE40NEmuWEZpIbBHzdzybZUhycUKLyqjnMaxyo t6xGcqNTbo51+8qRkr0ZQkV7FI0NC6t8u7k898u4gdByRrf/rZz3vC4uVaqZVBebTUJPjF EPBqwiQwa2mJ9Wow+UScpzSsoKgvGy8XtXDDRHUbUg9BOaM3c8clQmKxTV/bdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668461136; a=rsa-sha256; cv=none; b=B5tlrxb14XavSBQESb/QmP6QlJkVWZ1UJlS5O4WTuaHVp/7Ow5U/fqie8Y/MHP4OkB8vHa pSXUF4v0K+awkDcetXnNZ/SoSA3u0vbIP9M5/Uogh2JZ6wagl38yW7SJOT6lEVniiQWzzv 4mc7MoMFwfBHONwwhiB4D1KgQ11B81xHN1Fbml4MgKBfcGw7xiEMfscU6Swmd1TXYr7mE0 9ikEEFylej4FdCdJ3dAseFEdlpvzeoAsioJeJfwE49FVEH8s4X8guofW+zOnyucywXQZoB FlIxh2ubF0s/ZntqqZKt0xCwqtbzFQ2eFwih8ucDMvfTa3B02K5B5ruFOKzLEQ== 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 4NB2R40yQKzwdn for ; Mon, 14 Nov 2022 21:25:36 +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 2AELPacn002616 for ; Mon, 14 Nov 2022 21:25:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AELPaJ0002615 for virtualization@FreeBSD.org; Mon, 14 Nov 2022 21:25:36 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 267769] Bhyve core dump on suspend/resume of virtio-scsi device Date: Mon, 14 Nov 2022 21:25:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267769 --- Comment #2 from dan@sunsaturn.com --- Well according to a lot of internet posts , virtio-scsi was designed to rep= lace virtio-blk. It is very convenient to pass in 10 devices to a guest with a 1 liner to bhyve with a cam ioctl device.=20 Also FreeBSD cannot fix vfs.zfs.vol.recursive because of the recursive dead lock issues, so only way currently to mount a ZFS guest to a host is using iscsi /dev/da* devices. While we can keep using virtio-blk devices the issue arises on new install = of guests such as linux guests for example where creating virtio-blk devices creates devices such as /dev/vda*. When passing virtio-scsi, the devices are /dev/sda*, so this complicates issues greatly. While FreeBSD guests do not suffer issues of being able to label GPT partit= ions in /etc/fstab, Linux guests hardcode all their GPT labels to physical disks like /dev/vda* which would make them unbootable switching from virtio-blk to virtio-scsi down the road. So I am not sure what is best course of action here, install all guests as virtio-scsi in preparation of suspend/resume functionality, or go with virtio-blk and have to reinstall all the guests at some point. Dan. --=20 You are receiving this mail because: You are the assignee for the bug.=