mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
8806c0db63
So far, CPUID data were stored in two different data structures. First of them was a structure allowing direct access for CPUID data according to function number and the second was a plain array of struct cpuX86cpuid. This was a silly design which resulted in converting data from one type to the other and back again or implementing similar functionality for both data structures. The patch leaves only the direct access structure. This makes the code both smaller and more maintainable since operations on different objects can use common low-level operations. All 57 tests for cpu subsystem still pass after this rewrite. |
||
---|---|---|
.. | ||
cpu_generic.c | ||
cpu_generic.h | ||
cpu_map.c | ||
cpu_map.h | ||
cpu_map.xml | ||
cpu_x86_data.h | ||
cpu_x86.c | ||
cpu_x86.h | ||
cpu.c | ||
cpu.h |