From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl4yI-000407-U0 for qemu-devel@nongnu.org; Mon, 25 Nov 2013 17:49:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl4yC-00076g-M1 for qemu-devel@nongnu.org; Mon, 25 Nov 2013 17:49:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl4yC-00076O-Da for qemu-devel@nongnu.org; Mon, 25 Nov 2013 17:49:32 -0500 From: Bandan Das Date: Mon, 25 Nov 2013 17:48:39 -0500 Message-Id: <1385419722-22205-1-git-send-email-bsd@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/3] Add realize unrealize interfaces for BusState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= These patches add realize and unrealize interfaces to BusState just like we have for DeviceState. 1/3 and 2/3 implement the interface and attempt to integrate it to the existing DeviceState call path. 3/3 is an example user of the interface, pci in this case. Please see individual patches for more details. Bandan Das (3): qdev: add realize/unrealize interfaces for BusState qdev: Integrate the bus realized property to get called when device realized property changes pci: move vmstate_pcibus registration/unregistration to realize and unrealize interfaces hw/core/qdev.c | 130 ++++++++++++++++++++++++++++++++++++++++++++----- hw/pci/pci.c | 49 +++++++++++-------- include/hw/qdev-core.h | 8 +++ 3 files changed, 153 insertions(+), 34 deletions(-) -- 1.8.3.1