qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/19] usb: convert device init to realize


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v2 00/19] usb: convert device init to realize
Date: Thu, 18 Sep 2014 19:15:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

<address@hidden> writes:

> From: Gonglei <address@hidden>
>
> DeviceClass->init is the old interface, let's convert usb
> devices to the new realize API. In this way, all the
> implementations now use error_setg instead of 
> qerror_report/error_report for reporting error.
[...]

Thanks for doing this work.  If you can do a bit more of the same, here
are a few more device model init() methods I'd love to have converted,
because they use qerror_report_err():

hw/char/serial-pci.c            serial_pci_init()
                                multi_serial_pci_init()
hw/i386/kvm/pci-assign.c        assigned_initfn()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]