From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8olQ-0005zD-VN for qemu-devel@nongnu.org; Thu, 21 Oct 2010 02:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8olP-0001Ts-IM for qemu-devel@nongnu.org; Thu, 21 Oct 2010 02:36:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8olP-0001TV-CC for qemu-devel@nongnu.org; Thu, 21 Oct 2010 02:36:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9L6aX6x025909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Oct 2010 02:36:33 -0400 Received: from playa.redhat.com (vpn-6-82.tlv.redhat.com [10.35.6.82]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9L6aVSV001577 for ; Thu, 21 Oct 2010 02:36:32 -0400 From: Alon Levy Date: Thu, 21 Oct 2010 08:36:28 +0200 Message-Id: <1287642991-21114-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v3) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org v2->v3 changes: * add configure parameter * fix docs v2 message: This patchset uses id like device_del for attaching/detaching usb devices. The first two patches ready the way: 1. makes qdev_find_recursive non static and in qdev.h 2. adds a usb_device_by_id which goes over the usb buses calling qdev_find_recursive 3. adds the commands that use usb_device_by_id Alon Levy (3): qdev: make qdev_find_recursive public usb: add public usb_device_by_id monitor: add usb_attach and usb_detach (v2) configure | 9 +++++++++ hmp-commands.hx | 38 ++++++++++++++++++++++++++++++++++++++ hw/qdev.c | 2 +- hw/qdev.h | 1 + hw/usb-bus.c | 16 ++++++++++++++++ hw/usb.h | 1 + sysemu.h | 4 ++++ vl.c | 33 +++++++++++++++++++++++++++++++++ 8 files changed, 103 insertions(+), 1 deletions(-) -- 1.7.3.1