Skip to content

Instantly share code, notes, and snippets.

@sameo
Created March 8, 2017 22:37
Show Gist options
  • Save sameo/2faca7841fca6caf5240b75e8f6a2d58 to your computer and use it in GitHub Desktop.
Save sameo/2faca7841fca6caf5240b75e8f6a2d58 to your computer and use it in GitHub Desktop.
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