From: Sander Eikelenboom Subject: Xen-unstable: problems with qmp socket error in libxl_pci teardown path for HVM guest with PCI passthrough Date: Wed, 26 Nov 2014 21:04:36 +0100 Message-ID: <4610426124.20141126210436@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XtipL-0008O5-3P for xen-devel@lists.xenproject.org; Wed, 26 Nov 2014 20:04:39 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com, Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Hi, While testing a patch for Konrad i was wondering why "libxl_pci.c: libxl__device_pci_reset()" doesn't get called on guest shutdown of a HVM guest (qemu-xen) with pci passthrough. xl didn't show any problems on the commandline so i never drawed much attention to it, but /var/log/xen/xl-guest.log shows: Waiting for domain xbmc13sid (domid 19) to die [pid 20450] Domain 19 has shut down, reason code 0 0x0 Action for shutdown reason code 0 is destroy Domain 19 needs to be cleaned up: destroying the domain libxl: error: libxl_qmp.c:443:qmp_next: Socket read error: Connection reset by peer libxl: error: libxl_qmp.c:701:libxl__qmp_initialize: Failed to connect to QMP libxl: error: libxl_pci.c:1242:do_pci_remove: libxl__qmp_pci_del: Connection reset by peer libxl: error: libxl_dm.c:1575:kill_device_model: Device Model already exited Done. Exiting now So it doesn't even get to calling "libxl_pci.c: libxl__device_pci_reset()". -- Sander