]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
Add machine type aliases
authorMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 09:02:50 +0000 (10:02 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 13:39:28 +0000 (08:39 -0500)
commit3f6599e675df86d89313e1ef7ce8edb8f7c2d039
tree507ca1b2de9eeead58d8589bddbac894b18ade90
parentc1d6eed7e85f5cfae9c548e58971db657237050a
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 <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/boards.h
vl.c