From 3f6599e675df86d89313e1ef7ce8edb8f7c2d039 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 22 Jul 2009 10:02:50 +0100 Subject: Add machine type aliases Add an 'alias' field to QEMUMachine and display it in the output of 'qemu -M ?' with an '(aliased to foo)' suffix. Aliases can change targets in newer versions of qemu, so management tools may choose canonicalize machine types to ensure that if a user chooses an alias, that the actual machine type used will remain compatible in future. This is intended to mimic a symlink to a machine description file. Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- hw/boards.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/boards.h') diff --git a/hw/boards.h b/hw/boards.h index 11acb89fce..d8893413d4 100644 --- a/hw/boards.h +++ b/hw/boards.h @@ -14,6 +14,7 @@ typedef void QEMUMachineInitFunc(ram_addr_t ram_size, typedef struct QEMUMachine { const char *name; + const char *alias; const char *desc; QEMUMachineInitFunc *init; int use_scsi; -- cgit 1.4.1