Created
April 3, 2020 06:40
-
-
Save d-scott-phillips/d71d8d0c856301e5738ee73b68e56ad4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c | |
index 65e543510e14..139d57e5bc0e 100644 | |
--- a/usr.sbin/bhyve/pci_nvme.c | |
+++ b/usr.sbin/bhyve/pci_nvme.c | |
@@ -2176,7 +2176,7 @@ pci_nvme_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts) | |
DPRINTF(("nvme membar size: %u", pci_membar_sz)); | |
- error = pci_emul_alloc_bar(pi, 0, PCIBAR_MEM64, pci_membar_sz); | |
+ error = pci_emul_alloc_bar(pi, 0, PCIBAR_MEM32, pci_membar_sz); | |
if (error) { | |
WPRINTF(("%s pci alloc mem bar failed", __func__)); | |
goto done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment