Received: from eggs.gnu.org ([208.118.235.92]:60548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTFPA-0003mM-Nq for qemu-devel@nongnu.org; Fri, 19 Apr 2013 13:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTFP9-00073R-Sy for qemu-devel@nongnu.org; Fri, 19 Apr 2013 13:47:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTFP9-00073D-LI for qemu-devel@nongnu.org; Fri, 19 Apr 2013 13:47:23 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3JHlMFh012032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Apr 2013 13:47:22 -0400 From: Luiz Capitulino Date: Fri, 19 Apr 2013 13:47:17 -0400 Message-Id: <1366393639-20651-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] block: fix spurious DEVICE_TRAY_MOVED events on shutdown List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, phrdina@redhat.com, armbru@redhat.com Hi, This fixes a regression introduced by commit 9ca111544, as detailed in patch 2/2, by moving bdrv_dev_change_media_cb() calls to callers of bdrv_close() that need it, as suggested by Kevin. Luiz Capitulino (2): block: make bdrv_dev_change_media_cb() public block: move bdrv_dev_change_media_cb() to callers that really need it block.c | 5 +---- blockdev.c | 2 ++ include/block/block.h | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) -- 1.8.1.4