From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDESO-0000m8-TO for qemu-devel@nongnu.org; Fri, 10 Nov 2017 13:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDESK-0001tA-Vg for qemu-devel@nongnu.org; Fri, 10 Nov 2017 13:55:12 -0500 From: Alberto Garcia Date: Fri, 10 Nov 2017 20:54:45 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] Fix throttling crashes in BlockBackend with no BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alberto Garcia , qemu-block@nongnu.org, Stefan Hajnoczi , Kevin Wolf , Max Reitz , sochin jiang Hi, this series fixes the problems reported by Sochin Jiang in BlockBackend when there's a valid throttling configuration but the BDS has been removed. The patches apply on top of Li Zhengui's "all I/O should be completed before removing throttle timers" and I tested this on top of Stefan's block branch (commit 900276cf24589596296d3d099fe609ad5c182ac9). Regards, Berto Alberto Garcia (3): block: Check for inserted BlockDriverState in blk_io_limits_disable() block: Leave valid throttle timers when removing a BDS from a backend qemu-iotests: Test I/O limits with removable media block/block-backend.c | 30 +++++++++++++--------- tests/qemu-iotests/093 | 62 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/093.out | 4 +-- 3 files changed, 82 insertions(+), 14 deletions(-) -- 2.11.0