On 09/25/2012 11:59 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" <[email protected]> > > Introduce a qemuCapsCachePtr object to provide a global cache > of capabilities for QEMU binaries. The cache auto-populates > on first request for capabilities about a binary, and will > auto-refresh if the binary has changed since a previous cache > was populated > > Signed-off-by: Daniel P. Berrange <[email protected]> > --- > src/qemu/qemu_capabilities.c | 99 > ++++++++++++++++++++++++++++++++++++++++++++ > src/qemu/qemu_capabilities.h | 9 ++++ > 2 files changed, 108 insertions(+) >
> @@ -1940,6 +1945,10 @@ qemuCapsPtr qemuCapsNewForBinary(const char *binary)
> tmp = strstr(binary, QEMU_SYSTEM_PREFIX);
> if (tmp) {
> tmp += strlen(QEMU_SYSTEM_PREFIX);
> +
> + /* For historical compat we uses 'itanium' as arch name */
> + if (STREQ(tmp, "ia64"))
> + tmp = "itanium";
This hunk looks like it may have been rebased to the wrong patch, as
omitting it makes no difference to the new caching code.
ACK with that fixed.
--
Eric Blake [email protected] +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
