From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 3/8] kvm: qemu: fix hot assign device Date: Wed, 18 Feb 2009 14:16:08 -0300 Message-ID: <20090218171608.GA25719@amt.cnet> References: <715D42877B251141A38726ABF5CABF2C0195A1F9B2@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "'Avi Kivity'" , "'kvm@vger.kernel.org'" , "'Mark McLoughlin'" To: "Han, Weidong" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:60951 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbZBRRQx (ORCPT ); Wed, 18 Feb 2009 12:16:53 -0500 Content-Disposition: inline In-Reply-To: <715D42877B251141A38726ABF5CABF2C0195A1F9B2@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Acked-by: Marcelo Tosatti On Wed, Feb 18, 2009 at 03:12:31PM +0800, Han, Weidong wrote: > Last qemu merge broke device assignment hotplug. Call > qemu_pci_hot_assign_device in pci_device_hot_add for > hot assign device, and add the command for it. > for example hot assign 01:00.0, can use following command: > pci_add pci_addr=auto host host=01:00.0 > > Signed-off-by: Weidong Han > --- > qemu/hw/device-hotplug.c | 37 ------------------------------------- > qemu/hw/pci-hotplug.c | 35 +++++++++++++++++++++++++++++++++++ > qemu/monitor.c | 2 +- > 3 files changed, 36 insertions(+), 38 deletions(-)