Displaying 2 results from an estimated 2 matches for "virtio_pci_slot_network".
2016 Oct 10
2
[PATCH] aarch64: Enable virtio-pci, replacing virtio-mmio.
This patch causes aarch64 to use virtio-pci instead of virtio-mmio.
Virtio-pci is considerably faster than virtio-mmio, it's more like how
other architectures work, and it supports hotplugging (although it's
not likely we'd use the latter feature).
I'm not necessarily suggesting that we apply this. Laine (CC'd) has
some further patches to libvirt lined up which AIUI would
2016 Oct 10
0
[PATCH] aarch64: Enable virtio-pci, replacing virtio-mmio.
...ams, xmlTextWriterPtr xo);
+static int construct_libvirt_xml_virtio_pci_address (guestfs_h *g, xmlTextWriterPtr xo, int slot);
+/* Don't use slot 1, since can be used by video. */
+#define VIRTIO_PCI_SLOT_RNG 2
+#define VIRTIO_PCI_SLOT_SCSI 3
+#define VIRTIO_PCI_SLOT_SERIAL 4
+#define VIRTIO_PCI_SLOT_NETWORK 5
+
/* These macros make it easier to write XML, but they also make a lot
* of assumptions:
*
@@ -1337,6 +1344,9 @@ construct_libvirt_xml_devices (guestfs_h *g,
attribute ("model", "random");
string ("/dev/urandom");
} end_element ()...