qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  how to enable nvme device in Qemu?
@ 2016-04-19  8:37 Qingtao Sun
  2016-04-26  9:18 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Qingtao Sun @ 2016-04-19  8:37 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Hi all,
         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?

Thanks!

Qingtao

Architect
Mobile: +86 18301029918
Email: Qingtao.sun@memblaze.com<mailto:Qingtao.sun@memblaze.com>
Website: http://www.memblaze.com
Add: Building B-2 A302, No.66 Xixiaokou road, Haidian District, Beijing (100192)


[-- Attachment #2: Type: text/html, Size: 3219 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] how to enable nvme device in Qemu?
  2016-04-19  8:37 [Qemu-devel] how to enable nvme device in Qemu? Qingtao Sun
@ 2016-04-26  9:18 ` Stefan Hajnoczi
  2016-04-26 17:29   ` Laszlo Ersek
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-04-26  9:18 UTC (permalink / raw)
  To: Qingtao Sun; +Cc: qemu-devel@nongnu.org, seabios

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] how to enable nvme device in Qemu?
  2016-04-26  9:18 ` Stefan Hajnoczi
@ 2016-04-26 17:29   ` Laszlo Ersek
  0 siblings, 0 replies; 3+ messages in thread
From: Laszlo Ersek @ 2016-04-26 17:29 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-26 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19  8:37 [Qemu-devel] how to enable nvme device in Qemu? Qingtao Sun
2016-04-26  9:18 ` Stefan Hajnoczi
2016-04-26 17:29   ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).