]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove probing of machine types when canonicalizing XML
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 22 Aug 2012 15:25:57 +0000 (16:25 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Sep 2012 09:24:52 +0000 (10:24 +0100)
commitbd66c243b3c0ae13bb84f6cfe787fb8706f52879
tree90e66b6ab164a425e2dd43f9803768746ba101c0
parent15ee6614f7fa6ec13979922cc96e792d3e0c8987
Remove probing of machine types when canonicalizing XML

When XML for a new guest is received, the machine type is
immediately canonicalized into the version specific name.
This involves probing QEMU for supported machine types.
Replace this probing with a lookup of the machine types
in the (hopefully cached) qemuCapsPtr object

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_command.h
src/qemu/qemu_driver.c
tests/qemuxml2argvtest.c
tests/qemuxmlnstest.c