From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxcgK-0004Q9-CX for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:47:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxcgE-0007tG-7O for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:47:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxcgD-0007t3-W3 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:47:06 -0400 Message-ID: <1403185610.22530.16.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Thu, 19 Jun 2014 15:46:50 +0200 In-Reply-To: <53A2E6A8.8030704@suse.de> References: <1402992243-10224-1-git-send-email-arei.gonglei@huawei.com> <1403172316.22530.8.camel@nilsson.home.kraxel.org> <53A2D682.1010903@suse.de> <1403182025.22530.13.camel@nilsson.home.kraxel.org> <53A2E084.5050708@suse.de> <33183CC9F5247A488A2544077AF1902086C0AF7C@SZXEMA503-MBS.china.huawei.com> <53A2E6A8.8030704@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/5] tests: add usb host adapter qtest cases List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?ISO-8859-1?Q?F=E4rber?= Cc: "Huangweidong (C)" , Luonengjun , "qemu-devel@nongnu.org" , "Gonglei (Arei)" , "stefanha@redhat.com" , "akong@redhat.com" Hi, > Can't tell what Gerd had in mind for hcd hotplug sharing, something like: usb_hcd_hotplug(char *hcd) { /* here: device_add $hcd,id=testhcd device_add usb-tablet,bus=testhcd.0 device_del testhcd */ } uhci_hotplug_test() { usb_hcd_hotplug("piix4-usb-uhci"); } ohci_hotplug_test() { usb_hcd_hotplug("pci-ohci"); } [ ... ] cheers, Gerd