]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Don't fail startup/attach for IOThreads if no JSON
authorJohn Ferlan <jferlan@redhat.com>
Wed, 17 Sep 2014 18:43:12 +0000 (14:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 18 Sep 2014 10:24:49 +0000 (06:24 -0400)
commit15ee3c2511157a7dfd3516e633057ce26b9fbd62
tree4828ad748dbc08ff88aad4e97471abf907561250
parente29d28e7f21a29421efe7963f815826392b79456
qemu: Don't fail startup/attach for IOThreads if no JSON

If the qemu being used doesn't support JSON, then querying for IOThread
data would fail. In that case, ensure the *iothreads is NULL and return 0
as the count of iothreads available.
src/qemu/qemu_monitor.c