]> xenbits.xensource.com Git - libvirt.git/commit
qemu: caps: Sanitize storage of machine type related data
authorPeter Krempa <pkrempa@redhat.com>
Fri, 29 Jul 2016 08:13:46 +0000 (10:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Aug 2016 11:49:29 +0000 (13:49 +0200)
commitceec23d97f1d32f2047750c7329574a17b7290f9
treea53abf3ff61c1f8720a2b37685990b50075c81b2
parentd2d5a9112606d1dd2478236ea9034423cdfc0c5a
qemu: caps: Sanitize storage of machine type related data

Add a structure to store the data and use a single array of the
structures rather than having 3 separate arrays with shared indexes.
src/qemu/qemu_capabilities.c