[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v2)
From: |
Alon Levy |
Subject: |
[Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v2) |
Date: |
Tue, 19 Oct 2010 12:33:28 +0200 |
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
hmp-commands.hx | 34 ++++++++++++++++++++++++++++++++++
hw/qdev.c | 2 +-
hw/qdev.h | 1 +
hw/usb-bus.c | 16 ++++++++++++++++
hw/usb.h | 1 +
sysemu.h | 2 ++
vl.c | 31 +++++++++++++++++++++++++++++++
7 files changed, 86 insertions(+), 1 deletions(-)
--
1.7.3.1