Re: [Qemu-devel] [PATCH 2/3] pci: export pci_unplug_device

2011-06-23 Thread Stefano Stabellini
On Mon, 20 Jun 2011, Michael S. Tsirkin wrote: > On Thu, Jun 16, 2011 at 05:05:18PM +0100, stefano.stabell...@eu.citrix.com > wrote: > > From: Stefano Stabellini > > > > pci_unplug_device is needed by the xen_platform device to perfom dynamic > > nic unplug. > > > > Signed-off-by: Stefano Stabe

Re: [Qemu-devel] [PATCH 2/3] pci: export pci_unplug_device

2011-06-20 Thread Michael S. Tsirkin
On Thu, Jun 16, 2011 at 05:05:18PM +0100, stefano.stabell...@eu.citrix.com wrote: > From: Stefano Stabellini > > pci_unplug_device is needed by the xen_platform device to perfom dynamic > nic unplug. > > Signed-off-by: Stefano Stabellini I think it's better to go through qdev, pci_unplug_devi

[Qemu-devel] [PATCH 2/3] pci: export pci_unplug_device

2011-06-16 Thread stefano.stabellini
From: Stefano Stabellini pci_unplug_device is needed by the xen_platform device to perfom dynamic nic unplug. Signed-off-by: Stefano Stabellini --- hw/pci.c |2 +- hw/pci.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 1d297d6..679e976 1