Skip to contentSkip to conversation

question:a question about throttle and hot-unplug

Qemu-devel WangJie (Captain) 2 participants 2 messages Sep 14, 2017

lore
Share & tools
lore
#0 lore raw

Hi, Kevin

the patch you commited: https://github.com/qemu/qemu/commit/7ca7f0f6db1fedd28d490795d778cf23979a2aa7#diff-ea36ba0f79150cc299732696a069caba

remove blk_io_limits_disable from blk_remove_bs

Then, if a disk which configured qos hot-unplug from VM, the backend of the disk reminds in throttle group.

So when I hot-unplug and hot-plug a disk, and use the same throttle group name, will lead to qemu crash.

and Eric committed a path as fallow fixed the bug on qemu-kvm 2.9.0-rc4:
https://github.com/qemu/qemu/commit/1606e4cf8a976513ecac70ad6642a7ec45744cf5#diff-7cb66df56045598b75a219eebc27efb6

Is what I said as below correct? I just want to make sure it. Thank you :)

#1 lore raw
Quoted 7 lines · WangJie (Captain)

the patch you commited: https://github.com/qemu/qemu/commit/7ca7f0f6db1fedd28d490795d778cf23979a2aa7#diff-ea36ba0f79150cc299732696a069caba

remove blk_io_limits_disable from blk_remove_bs

Then, if a disk which configured qos hot-unplug from VM, the backend of the disk reminds in throttle group.

Quoted 7 lines

So when I hot-unplug and hot-plug a disk, and use the same throttle group name, will lead to qemu crash.

and Eric committed a path as fallow fixed the bug on qemu-kvm 2.9.0-rc4:
https://github.com/qemu/qemu/commit/1606e4cf8a976513ecac70ad6642a7ec45744cf5#diff-7cb66df56045598b75a219eebc27efb6

Is what I said as below correct?

That sounds correct to me. Here's the original discussion for reference:

https://lists.gnu.org/archive/html/qemu-block/2017-04/msg00019.html

Berto