]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Store virCPUx86DataItem content in union
authorJiri Denemark <jdenemar@redhat.com>
Thu, 14 Mar 2019 14:44:27 +0000 (15:44 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 12 Apr 2019 20:53:39 +0000 (22:53 +0200)
commit370177e2f6784319b2fc86d8fe7a271248a5982e
treefeb02138cb16f48f4a6414f6299021e7ba0aebff
parent10b80165dba31f99306f39e348e3a6335feec5ef
cpu_x86: Store virCPUx86DataItem content in union

The structure can only be used for CPUID data now. Adding a type
indicator and moving the data into a union will let us store alternative
data types.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/cpu/cpu_x86.c
src/cpu/cpu_x86_data.h
src/libxl/libxl_capabilities.c
src/qemu/qemu_monitor_json.c