mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
usb-serial and braille: use qdev for -usbdevice
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fa7c70c35a
commit
2b0efdc3e1
5 changed files with 65 additions and 38 deletions
6
vl.c
6
vl.c
|
@ -2558,12 +2558,6 @@ static int usb_device_add(const char *devname, int is_hotplug)
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
} else if (strstart(devname, "serial:", &p)) {
|
||||
dev = usb_serial_init(p);
|
||||
#ifdef CONFIG_BRLAPI
|
||||
} else if (!strcmp(devname, "braille")) {
|
||||
dev = usb_baum_init();
|
||||
#endif
|
||||
} else if (strstart(devname, "net:", &p)) {
|
||||
QemuOpts *opts;
|
||||
int idx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue