From nobody Sun Mar 20 23:26:46 2022 X-Original-To: freebsd-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 BF6181A33146 for ; Sun, 20 Mar 2022 23:26:58 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KMDRQ0sVfz4cB4 for ; Sun, 20 Mar 2022 23:26:58 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-yb1-xb2f.google.com with SMTP id f38so25313864ybi.3 for ; Sun, 20 Mar 2022 16:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b8dJj4P+WkoodUzboX2QzAvlaGxwGfQGL9ediHLyolY=; b=ZX9FocqROIhJdUH+TySFuYwKexvbygqmvW+JthB745RCwmJFOmrtu5LAS2XHg0Bnyc FzNUPnV/fU5WvTEP2udu4l4oANs5kXWpFA9GrnksCNQHEUMSrPsqFCZj0HcupJj+33oY Jk0PjNTL/uUwHZXzjbu0pUkZKtPY27DnGT5IRrH7zjEBZmXpXZHZf/5VqwbkloQtqScZ YjdOHL9HTUtQUzZWLzFz4RZAfb9bGYwbdt/8vN+ZIHlclcDLkH1LigD7jyL3L+ti5IZq QJ+Eu6dqy8Qca7fgnv5zwAghyupimTBdOpKbVBMBX+3L7ACqQQWIOeKibvUwGVn7wosw U7Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b8dJj4P+WkoodUzboX2QzAvlaGxwGfQGL9ediHLyolY=; b=bpCP+zSR7I2FMY/AWQAuHLW9I/JxGkkV/tJuIH+64Fe3NINwRf312BvBEUbuEohX7G XCeYm6DsRx0tpKphELZQhSxgifIhNwFZzCf20aHHNjQkUny3FnikIurPNkyXxD3oYV3x anR4OFJgRDgF7JR+iqPZxEuje8dEQbqfp+6ZxtopmcROiACAd2nwl8GXjsy6+02okm2T KHybsgLRXOVdHGNQ/toc/tn2Li1SDlcfeyi2MWC4QLTGgKUd+vE8AJbP8bmaMujdVysK CB21NqtjNvbDlx+VOuUWx4JLNQhlkW7Ifp1Dfkig2yDFlQqLalNYZKe86aRl9I7rX/Ts Jehw== X-Gm-Message-State: AOAM533WYAhjozmHih1lWJgvhBIjlnIq5DlJcGUoEnLhCEpZ8cUzuC7B W5uzoXJF6ZYwK2vOuPurMu/2o77+1CliBydQZsoIG6Gbo1c= X-Google-Smtp-Source: ABdhPJzh1nUhG6Bw6lQWVD/w+GyeQcb8MW1o0O/jOK/HDwBF90g6OKPNovr4OIQer7fYzdhwLNEIFELkZ/OIWvY4PO0= X-Received: by 2002:a5b:8c8:0:b0:633:cb70:9f4d with SMTP id w8-20020a5b08c8000000b00633cb709f4dmr9921705ybq.245.1647818817557; Sun, 20 Mar 2022 16:26:57 -0700 (PDT) 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 References: In-Reply-To: From: Mario Marietto Date: Mon, 21 Mar 2022 00:26:46 +0100 Message-ID: Subject: Re: bhyve NVMe 1.4 support To: Chuck Tuffli Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000046573c05daaeb72f" X-Rspamd-Queue-Id: 4KMDRQ0sVfz4cB4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZX9FocqR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::b2f as permitted sender) smtp.mailfrom=marietto2008@gmail.com X-Spamd-Result: default: False [-0.60 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.989]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(0.39)[0.388]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2f:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --00000000000046573c05daaeb72f Content-Type: text/plain; charset="UTF-8" if i want to boot any os installed physically on a disk,not matter what,it will not boot if i want also pass thru a disk or a graphic card. this is the reason why im trying to pass as much as disks i can using the -s slot. I see that the usb disks can be passed through using -s with the virtio-blk or virtio-scsi driver,but none of these drivers work with the m2 / nvme disk. Il mar 7 dic 2021, 16:58 Chuck Tuffli ha scritto: > I've been working on a patch series to get bhyve's NVMe emulation > compliant with the v1.4 specification. The compliance tests now pass, > and I will work on getting the patches up for review "soon". In the > meantime, there is a copy of the full changes if anyone is interested > in testing on current or 13-stable. > > https://people.freebsd.org/~chuck/nvme-1.4/pci_nvme.c > > --chuck > > --00000000000046573c05daaeb72f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
i= f i want to boot any os installed physically on a disk,not matter what,it w= ill not boot if i want also pass thru a disk or a graphic card. this is the= reason why im trying to pass as much as disks i can using the -s slot. I s= ee that the usb disks can be passed through using -s with the virtio-blk or= virtio-scsi driver,but none of these drivers work with the m2 / nvme disk.=

Il mar 7 dic 2021, 16:58 Chuck Tuffli <chuck@tuffli.net> ha scritto:
I've been working on a patch series to get bhyve's NV= Me emulation
compliant with the v1.4 specification. The compliance tests now pass,
and I will work on getting the patches up for review "soon". In t= he
meantime, there is a copy of the full changes if anyone is interested
in testing on current or 13-stable.

https://people.freebsd.org/~chuck/nv= me-1.4/pci_nvme.c

--chuck

--00000000000046573c05daaeb72f--