Re: [Qemu-devel] [PATCH 0/2] usb-serial: only check speed once at realize time

2014-09-23 Thread Gonglei (Arei)
And this one :) Thanks! Best regards, -Gonglei > -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Friday, September 19, 2014 4:08 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: Huangweidong (C); Luonengjun; Huangpeng (

Re: [Qemu-devel] [PATCH 0/2] usb-serial: only check speed once at realize time

2014-09-19 Thread Gonglei (Arei)
> Il 19/09/2014 09:25, arei.gong...@huawei.com ha scritto: > > From: Gonglei > > > > This patch series based on > > [PATCH v3 00/19] usb: convert device init to realize > > > > As Paolo's comments: > > > > usb port speed check could be extracted to a separate > > function usb_check_attach, that i

Re: [Qemu-devel] [PATCH 0/2] usb-serial: only check speed once at realize time

2014-09-19 Thread Paolo Bonzini
Il 19/09/2014 09:25, arei.gong...@huawei.com ha scritto: > From: Gonglei > > This patch series based on > [PATCH v3 00/19] usb: convert device init to realize > > As Paolo's comments: > > usb port speed check could be extracted to a separate > function usb_check_attach, that is called just on

[Qemu-devel] [PATCH 0/2] usb-serial: only check speed once at realize time

2014-09-19 Thread arei.gonglei
From: Gonglei This patch series based on [PATCH v3 00/19] usb: convert device init to realize As Paolo's comments: usb port speed check could be extracted to a separate function usb_check_attach, that is called just once at realize time, even if !s->cs->be_open. Please review, Thanks. :) Go