[Pkg-libvirt-commits] [libguestfs] 28/61: aarch64: This has no PCI, like ARM 32 bit.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Mar 29 14:36:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit f8c83e801afc26dd61a8108188ab4de9e4a4b0ec
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Mar 24 17:33:10 2014 -0500
aarch64: This has no PCI, like ARM 32 bit.
---
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 95b09cf..0c614a3 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -126,17 +126,17 @@
/* Differences in device names on ARM (virtio-mmio) vs normal
* hardware with PCI.
*/
-#ifndef __arm__
+#if !defined(__arm__) && !defined(__aarch64__)
#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 /* ARM */
#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 /* ARM */
/* Machine types. XXX Make these configurable. */
#ifdef __arm__
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list