]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Probe for QEMU machine types
authorMark McLoughlin <markmc@redhat.com>
Thu, 23 Jul 2009 17:31:34 +0000 (18:31 +0100)
committerMark McLoughlin <markmc@redhat.com>
Mon, 27 Jul 2009 14:17:55 +0000 (15:17 +0100)
commitd412487eb7dc9943e693f8dc2e49cf19fdbf14e6
treeb33275258268c3c81692570b321292409531432b
parent7803e6f3ed046b3f6b067a93f6c3894a8bd33506
Probe for QEMU machine types

Currently we hardcode the QEMU machine types. We should really just
parse the output of 'qemu -M ?' so the lists don't get out of sync.

xenner doesn't support '-M ?', so we still need to hardcode that.

The horrible (const char *const *) is removed in a subsequent patch.

* src/qemu_conf.c: kill the arch_info*machines tables, retain the
  hardcoded xenner machine type, add qemudProbeMachineTypes() to
  run and parse 'qemu -M ?' and use it in qemudCapsInitGuest()
src/qemu_conf.c