From: Kevin O'Connor Date: Wed, 10 May 2017 20:14:39 +0000 (-0400) Subject: NVMe: Allow NVMe to be enabled on real hardware X-Git-Tag: rel-1.11.0~37 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=235a8190;p=people%2Fandrewcoop%2Fseabios.git NVMe: Allow NVMe to be enabled on real hardware A couple of users have reported success with the NVMe driver on real hardware, so allow it to be enabled outside of QEMU. Signed-off-by: Kevin O'Connor --- diff --git a/src/Kconfig b/src/Kconfig index e1b83a4..77ec9c7 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -228,7 +228,7 @@ menu "Hardware support" Support floppy images stored in coreboot flash or from QEMU fw_cfg. config NVME - depends on DRIVES && QEMU_HARDWARE + depends on DRIVES bool "NVMe controllers" default y help diff --git a/src/hw/nvme.c b/src/hw/nvme.c index 60557ae..1c2bce5 100644 --- a/src/hw/nvme.c +++ b/src/hw/nvme.c @@ -618,7 +618,7 @@ void nvme_setup(void) { ASSERT32FLAT(); - if (!CONFIG_NVME || !runningOnQEMU()) + if (!CONFIG_NVME) return; dprintf(3, "init nvme\n");