Re: [Qemu-devel] [PATCH 14/19] dev-hid: convert init to realize

2014-09-18 Thread Gonglei (Arei)
> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, September 18, 2014 6:16 PM > Subject: Re: [PATCH 14/19] dev-hid: convert init to realize > > Il 18/09/2014 11:32, arei.gong...@huawei.com ha scritto: > > From: Gonglei > > > > In this way, all the implementations now use > > err

Re: [Qemu-devel] [PATCH 14/19] dev-hid: convert init to realize

2014-09-18 Thread Paolo Bonzini
Il 18/09/2014 11:32, arei.gong...@huawei.com ha scritto: > From: Gonglei > > In this way, all the implementations now use > error_setg instead of error_report for reporting error. > > Signed-off-by: Gonglei > --- > hw/usb/dev-hid.c | 23 +++ > 1 file changed, 11 insertions(

[Qemu-devel] [PATCH 14/19] dev-hid: convert init to realize

2014-09-18 Thread arei.gonglei
From: Gonglei In this way, all the implementations now use error_setg instead of error_report for reporting error. Signed-off-by: Gonglei --- hw/usb/dev-hid.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c index