]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Check for attach disk usage of iothread=0
authorJohn Ferlan <jferlan@redhat.com>
Wed, 12 Aug 2015 19:02:47 +0000 (15:02 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 20 Aug 2015 16:10:21 +0000 (12:10 -0400)
commitcb5d0193aa13bf922136bb0fc7520f97b0af52f9
tree72b8c0462340ee8d22b9b0be296bc44cb08704aa
parente5470dd0e0a5be02cbf18a882cfc676b39d1c1a5
conf: Check for attach disk usage of iothread=0

Since iothreadid = 0 is invalid, we need to check for it when attempting
to add a disk; otherwise, someone would think/believe their attempt to
add an IOThread to the disk would succeed. Luckily other code ignored
things when ->iothread == 0...
src/conf/domain_conf.c