]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't check CPU model property key
authorJiri Denemark <jdenemar@redhat.com>
Wed, 11 Jan 2017 13:29:58 +0000 (14:29 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 12 Jan 2017 10:58:25 +0000 (11:58 +0100)
commitec23791517861e3260ce5992c8fa7dcb0bedf06b
tree33ca134547033786d389336fcbf6db83db4f7e73
parentc6e9561ad39d100149e47a18960270e6f3d38320
qemu: Don't check CPU model property key

The qemuMonitorJSONParseCPUModelProperty function is a callback for
virJSONValueObjectForeachKeyValue and is called for each key/value pair,
thus it doesn't really make sense to check whether key is NULL.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_monitor_json.c