[libvirt] [PATCH 16/36] cpu_x86: Introduce virCPUx86DataCmp

Ján Tomko jtomko at redhat.com
Tue Apr 9 11:58:10 UTC 2019


On Mon, Apr 08, 2019 at 10:42:20AM +0200, Jiri Denemark wrote:
>virCPUx86DataSorter already compares two virCPUx86DataItem structs.
>Let's add a tiny wrapper around it called virCPUx86DataCmp and use it
>instead of open coded comparisons.
>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/cpu/cpu_x86.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190409/b4d2f504/attachment-0001.sig>


More information about the libvir-list mailing list