From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwqSr-0001kB-9O for qemu-devel@nongnu.org; Fri, 05 Dec 2014 05:50:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwqSl-0004B6-5X for qemu-devel@nongnu.org; Fri, 05 Dec 2014 05:50:21 -0500 Received: from smtp.citrix.com ([66.165.176.89]:6612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwqSk-000477-Vf for qemu-devel@nongnu.org; Fri, 05 Dec 2014 05:50:15 -0500 Received: from etemp.uk.xensource.com ([10.80.228.66] helo=etemp.uk.xensource.com.) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1XwqSi-0003V3-79 for qemu-devel@nongnu.org; Fri, 05 Dec 2014 10:50:12 +0000 From: Paul Durrant Date: Fri, 5 Dec 2014 10:50:03 +0000 Message-ID: <1417776605-36309-1-git-send-email-paul.durrant@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v5 0/2] Use ioreq-server API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch series is v5 of what was originally the single patch "Xen: Use the ioreq-server API when available". v2 of the series moved the code that added the PCI bus listener to patch #1 and the remainder of the changes to patch #2. Patch #2 was then re-worked to constrain the #ifdefing to xen_common.h, as requested by Stefano. v3 of the series modifies patch #1 to add the listener interface into the core qdev, rather than the PCI bus code. This change only requires trivial modification to patch #2, to only act on realize/ unrealize of PCI devices. Patch #2 was also modified at Stefano's request to remove an extra identity check of memory sections against the ram region. v4 of the series replaces the use of a vmstate pre_save callback with extra code in the existing runstate change notification callback. It also tidies up some things in xen-hvm.c pointed out by Stefano and adds his ack to patch #2. v5 rebases and fixes patch #1 to consistently use device/DEVICE rather than a mix of that and qdev/QDEV, and also moves the listener notifications into device_set_realized(). The series was also re-tested against xen-4.5.0-rc3.