Created
March 8, 2017 22:37
-
-
Save sameo/2faca7841fca6caf5240b75e8f6a2d58 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/src/hypervisor.c b/src/hypervisor.c | |
index 24f7c85..9aedf04 100644 | |
--- a/src/hypervisor.c | |
+++ b/src/hypervisor.c | |
@@ -90,7 +90,7 @@ out: | |
* Use a pci slot available on that bus after adding an offset to take | |
* into account busy slots and the slots used earlier in our qemu options. | |
*/ | |
-#define QEMU_FMT_DEVICE "driver=virtio-net-pci,bus=/pci-lite-host/pcie.0,addr=%x,netdev=%s" | |
+#define QEMU_FMT_DEVICE "driver=virtio-net-pci,bus=/q35-pcihost/pcie.0,addr=%x,netdev=%s" | |
#define QEMU_FMT_DEVICE_MAC QEMU_FMT_DEVICE ",mac=%s" | |
static gchar * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment