From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asSeJ-0008O7-ER for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asSeE-0001uJ-Hd for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:12:51 -0400 Received: from mail-bjbop0217.outbound.protection.partner.outlook.cn ([42.159.33.217]:32437 helo=cn01-BJB-obe.outbound.protection.partner.outlook.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asSeD-0001tc-KM for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:12:46 -0400 From: Qingtao Sun Date: Tue, 19 Apr 2016 08:37:42 +0000 Message-ID: Content-Language: zh-CN Content-Type: multipart/alternative; boundary="_000_SH2PR01MB08957347C4ABE327FC148988D6C0SH2PR01MB089CHNPR0_" MIME-Version: 1.0 Subject: [Qemu-devel] how to enable nvme device in Qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" --_000_SH2PR01MB08957347C4ABE327FC148988D6C0SH2PR01MB089CHNPR0_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I want to boot OS from NVMe device in qemu-2.5.1. But I didn't fin= d the bootable NVMe device in guest BIOS. How to enable this feature? Thanks! Qingtao Architect Mobile: +86 18301029918 Email: Qingtao.sun@memblaze.com Website: http://www.memblaze.com Add: Building B-2 A302, No.66 Xixiaokou road, Haidian District, Beijing (10= 0192) --_000_SH2PR01MB08957347C4ABE327FC148988D6C0SH2PR01MB089CHNPR0_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

     &= nbsp;   I want to boot OS from NVMe device in qemu-2.5.1. But I d= idn’t find the bootable NVMe device in guest BIOS. How to enable this= feature?

 

Thanks!

 

Qingtao

 

Architect

Mobile: +86 18301029918

Email: Qingtao.sun@memblaze.com

Website: http://www.memblaze.com

Add: Building B-2 A302, No.66 X= ixiaokou road, Haidian District, Beijing (100192)

 

--_000_SH2PR01MB08957347C4ABE327FC148988D6C0SH2PR01MB089CHNPR0_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auz8h-0000BJ-3T for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:18:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auz8d-0001zQ-3I for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:18:39 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auz8c-0001z1-Rm for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:18:35 -0400 Received: by mail-wm0-x229.google.com with SMTP id n3so27868574wmn.0 for ; Tue, 26 Apr 2016 02:18:34 -0700 (PDT) Date: Tue, 26 Apr 2016 10:18:29 +0100 From: Stefan Hajnoczi Message-ID: <20160426091829.GB10650@stefanha-x1.localdomain> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] how to enable nvme device in Qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qingtao Sun Cc: "qemu-devel@nongnu.org" , seabios@seabios.org --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 19, 2016 at 08:37:42AM +0000, Qingtao Sun wrote: > I want to boot OS from NVMe device in qemu-2.5.1. But I didn't find the bootable NVMe device in guest BIOS. How to enable this feature? I don't see an NVMe driver so I guess SeaBIOS does not support boot from NVMe: https://code.coreboot.org/p/seabios/source/tree/master/src/hw I have CCed the SeaBIOS mailing list in case they have any advice. Stefan --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXHzJlAAoJEJykq7OBq3PIohoH/3MDEcoURBbM/jnLd7CcAQof NHmQvebEEPKcR9S4OBx/8o34bjJbv4SYhigmwv8Im9dMEWAdhZv+lmtkNixIrGof rcID9ptQLCcDiKHeMk8gGgbtEypWxfnenX15ijfThjjwak4V+hZu7ldnAB83S5hN r+XZlX6dnEb+++bAEvQZdVQS2nraIqEiwogTcCvAzjDMZyYcSlTw9XlEUqDw332+ ZGv+WOvqZbGgO6yDGq3qYgot/XtAZkXULR8iZ+1PbaTvRAEB7GcwfEwP3HbkBlAb D0aA7dsaWs/dUtm269F2nAGvhICI6VGnpcwL4N7UACnag0DkMwKI/bKc2+S/MNg= =CacR -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av6o4-0005wo-8L for qemu-devel@nongnu.org; Tue, 26 Apr 2016 13:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1av6o0-0001sI-1B for qemu-devel@nongnu.org; Tue, 26 Apr 2016 13:29:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av6nz-0001sE-Rg for qemu-devel@nongnu.org; Tue, 26 Apr 2016 13:29:47 -0400 References: <20160426091829.GB10650@stefanha-x1.localdomain> From: Laszlo Ersek Message-ID: <571FA588.2060000@redhat.com> Date: Tue, 26 Apr 2016 19:29:44 +0200 MIME-Version: 1.0 In-Reply-To: <20160426091829.GB10650@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] how to enable nvme device in Qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Qingtao Sun Cc: "qemu-devel@nongnu.org" On 04/26/16 11:18, Stefan Hajnoczi wrote: > On Tue, Apr 19, 2016 at 08:37:42AM +0000, Qingtao Sun wrote: >> I want to boot OS from NVMe device in qemu-2.5.1. But I didn't find the bootable NVMe device in guest BIOS. How to enable this feature? > > I don't see an NVMe driver so I guess SeaBIOS does not support boot from > NVMe: > https://code.coreboot.org/p/seabios/source/tree/master/src/hw > > I have CCed the SeaBIOS mailing list in case they have any advice. Removing the SeaBIOS list before I achieve "generally hated" status there, for peddling OVMF :) Qingtao Sun: you can boot off of NVMe devices with recent OVMF. https://github.com/tianocore/edk2/issues/48 https://www.kraxel.org/repos/ As far as QEMU is concerned, you will need a binary that has commit a907ec52cc1a (v2.6.0-rc3, for example -- v2.5.* don't have it, directly or via cherry-pick). Thanks Laszlo