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