mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Change the usb-serial product ID to a more widely recognised value (Samuel Thibault).
Implement chr_close callback for "stdio" so that it can be closed and reopened. Free chr devices after they're closed. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3927 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
db380c066d
commit
a11d070e38
3 changed files with 30 additions and 3 deletions
|
@ -486,7 +486,7 @@ USBDevice *usb_serial_init(const char *filename)
|
|||
{
|
||||
USBSerialState *s;
|
||||
CharDriverState *cdrv;
|
||||
unsigned short vendorid = 0x0403, productid = 0xFF00;
|
||||
unsigned short vendorid = 0x0403, productid = 0x6001;
|
||||
|
||||
while (*filename && *filename != ':') {
|
||||
const char *p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue