[libvirt] [PATCH] Reusing the result of virArchFromHost instead of calling it multiple times
Daniel P. Berrange
berrange at redhat.com
Mon Apr 8 13:32:02 UTC 2013
On Mon, Apr 08, 2013 at 03:33:07PM +0300, Tal Kain wrote:
> Signed-off-by: Tal Kain <tal.kain at ravellosystems.com>
> ---
> src/qemu/qemu_capabilities.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
What is the motivation for doing this ? it just looks like
overkill to me, since virArchFromHost isn't really an
expensive method to invoke.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list