diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2016-02-18 22:44:13 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-03-16 10:13:10 +0100 |
commit | 36e9916811002dc535f0a5cc718d60d6eb902998 (patch) | |
tree | a95d82a2403b23a4ebbe7c819da2d461e3b8b878 /qdev-monitor.c | |
parent | f6b5319d412cda360695e2005737f91ca8201af0 (diff) | |
download | qemu-36e9916811002dc535f0a5cc718d60d6eb902998.tar.gz qemu-36e9916811002dc535f0a5cc718d60d6eb902998.tar.bz2 qemu-36e9916811002dc535f0a5cc718d60d6eb902998.zip |
qdev-monitor: sort alias table by typename
Sort the alias table by typename so it's easier to see which aliases
exist.
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Message-Id: <1455831854-49013-3-git-send-email-silbe@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qdev-monitor.c')
-rw-r--r-- | qdev-monitor.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/qdev-monitor.c b/qdev-monitor.c index e5136d78e0..4e3681c911 100644 --- a/qdev-monitor.c +++ b/qdev-monitor.c @@ -39,19 +39,20 @@ typedef struct QDevAlias uint32_t arch_mask; } QDevAlias; +/* Please keep this table sorted by typename. */ static const QDevAlias qdev_alias_table[] = { - { "virtio-blk-pci", "virtio-blk", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, - { "virtio-net-pci", "virtio-net", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, - { "virtio-serial-pci", "virtio-serial", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, + { "e1000", "e1000-82540em" }, + { "ich9-ahci", "ahci" }, + { "kvm-pci-assign", "pci-assign" }, + { "lsi53c895a", "lsi" }, { "virtio-balloon-pci", "virtio-balloon", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, { "virtio-blk-ccw", "virtio-blk", QEMU_ARCH_S390X }, + { "virtio-blk-pci", "virtio-blk", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, { "virtio-net-ccw", "virtio-net", QEMU_ARCH_S390X }, + { "virtio-net-pci", "virtio-net", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, { "virtio-serial-ccw", "virtio-serial", QEMU_ARCH_S390X }, - { "lsi53c895a", "lsi" }, - { "ich9-ahci", "ahci" }, - { "kvm-pci-assign", "pci-assign" }, - { "e1000", "e1000-82540em" }, + { "virtio-serial-pci", "virtio-serial", QEMU_ARCH_ALL & ~QEMU_ARCH_S390X }, { } }; |