]> xenbits.xensource.com Git - libvirt.git/commit
cpu: x86: Parse the CPU feature map only once
authorPeter Krempa <pkrempa@redhat.com>
Tue, 8 Oct 2013 16:20:10 +0000 (18:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Nov 2013 10:51:09 +0000 (11:51 +0100)
commit629aff378f15df47f93f96b4a2ad780da8aa4785
tree27c9ce414ec8aab4fd11cf26b7ba5e506a50698b
parent6f6e1f902a5a08ae6925273d7b9f129b6094eb0c
cpu: x86: Parse the CPU feature map only once

Until now the map was loaded from the XML definition file every time a
operation on the flags was requested. With the introduciton of one shot
initializers we can store the definition forever (as it will never
change) instead of parsing it over and over again.
src/cpu/cpu_x86.c