qemu-system-aarch64 -M virt now supports virtio-pci devices. These
are considerably faster than virtio-mmio so use them by default.
---
src/guestfs-internal.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index 40dad35..24a248e 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -145,17 +145,17 @@
/* Differences in device names on ARM (virtio-mmio) vs normal
* hardware with PCI.
*/
-#if !defined(__arm__) && !defined(__aarch64__)
+#if !defined(__arm__)
#define VIRTIO_BLK "virtio-blk-pci"
#define VIRTIO_SCSI "virtio-scsi-pci"
#define VIRTIO_SERIAL "virtio-serial-pci"
#define VIRTIO_NET "virtio-net-pci"
-#else /* ARM */
+#else /* ARMv7 */
#define VIRTIO_BLK "virtio-blk-device"
#define VIRTIO_SCSI "virtio-scsi-device"
#define VIRTIO_SERIAL "virtio-serial-device"
#define VIRTIO_NET "virtio-net-device"
-#endif /* ARM */
+#endif /* ARMv7 */
/* Machine types. */
#ifdef __arm__
--
2.9.3