From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/2] vfio: Add signal flush and log more verbosely Date: Tue, 14 Apr 2015 12:14:39 -0600 Message-ID: <20150414180228.6081.10459.stgit@gimli.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: alex.williamson@redhat.com Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Fix an issue where signals are not flushed causing our interruptible wait_event to go into a tight loop once a signal is received. Also add more logging throughout. We have no -EBUSY return path for a driver remove request and it's confusing to users when tasks get blocked waiting for the device to release. Provide more clues what's happening. Thanks, Alex --- Alex Williamson (2): vfio: Flush signals on device request interruption vfio-pci: Log device requests more verbosely drivers/vfio/pci/vfio_pci.c | 8 +++++++- drivers/vfio/vfio.c | 13 ++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-)