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:
balrog 2008-01-19 13:00:43 +00:00
parent db380c066d
commit a11d070e38
3 changed files with 30 additions and 3 deletions

View file

@ -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;