]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use switch for qemuCheckIOThreads
authorJohn Ferlan <jferlan@redhat.com>
Mon, 18 Apr 2016 11:39:59 +0000 (07:39 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 4 May 2016 13:59:14 +0000 (09:59 -0400)
commitade5dae2825d7ec849909c2b56f4d7908394f439
treec5c087147ed8cc98f59858cb98d53b3664a946be
parente0d0e53086666afc607bfa0d4dc3e230a6e196c5
qemu: Use switch for qemuCheckIOThreads

Rather than an if statement, use a switch.

The switch will also catch the illegal usage of 'iothread' with some other
kind of unsupported bus configuration.
src/qemu/qemu_command.c