[libvirt] [PATCHv2 4/8] cpu: x86: Parse the CPU feature map only once
Peter Krempa
pkrempa at redhat.com
Mon Nov 4 11:08:55 UTC 2013
On 10/30/13 16:50, Daniel P. Berrange wrote:
> On Thu, Oct 17, 2013 at 03:10:18PM +0200, Peter Krempa wrote:
>> 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.
>> ---
>>
>> Notes:
>> Version 2:
>> - kept the map loading function separate so that tests can use it in the future
>>
>> src/cpu/cpu_x86.c | 67 +++++++++++++++++++++++++++++++++----------------------
>> 1 file changed, 40 insertions(+), 27 deletions(-)
>
> ACK
>
Pushed; Thanks.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131104/3398dde9/attachment-0001.sig>
More information about the libvir-list
mailing list