]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Special case models == NULL in cpuGetModels
authorJiri Denemark <jdenemar@redhat.com>
Tue, 14 Jun 2016 09:12:49 +0000 (11:12 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:08 +0000 (15:40 +0200)
commit1bc8484326ef363dac8ab33fd2a498dae732f492
tree33ce6f99e9d18d8142708d35e5f3f43c47aa5335
parent84d38307fe6dffa3b207b78167d80ccb6983ad48
cpu: Special case models == NULL in cpuGetModels

Some CPU drivers (such as arm) do not provide list of CPUs libvirt
supports and just pass any CPU model from domain XML directly to QEMU.
Such driver need to return models == NULL and success from cpuGetModels.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu.c
src/libvirt-host.c
tools/virsh-host.c