Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-18 Thread Markus Armbruster
Anthony Liguori writes: > Luiz Capitulino wrote: >> >>> #define QERR_DEVICE_ALREADY_OPEN "{'class': 'DeviceAlreadyOpen', >>> data' : {'bus_num': %d, 'addr': %d}" >>> >>> qemu_error_new(QERR_DEVICE_ALREADY_OPEN, bus_num, addr); >>> >> >> What about DeviceAlreadyOpen errors with a different a

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-12 Thread Anthony Liguori
Luiz Capitulino wrote: On Thu, 12 Nov 2009 08:44:03 -0600 Anthony Liguori wrote: Luiz Capitulino wrote: #define QERR_DEVICE_ALREADY_OPEN "{'class': 'DeviceAlreadyOpen', 'data' : {'bus_num': %d, 'addr': %d}" qemu_error_new(QERR_DEVICE_ALREADY_OPEN, bus_num, addr); Wha

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-12 Thread Luiz Capitulino
On Thu, 12 Nov 2009 08:44:03 -0600 Anthony Liguori wrote: > Luiz Capitulino wrote: > > > >> #define QERR_DEVICE_ALREADY_OPEN "{'class': 'DeviceAlreadyOpen', 'data' > >> : {'bus_num': %d, 'addr': %d}" > >> > >> qemu_error_new(QERR_DEVICE_ALREADY_OPEN, bus_num, addr); > >> > > > > What about

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-12 Thread Anthony Liguori
Luiz Capitulino wrote: #define QERR_DEVICE_ALREADY_OPEN "{'class': 'DeviceAlreadyOpen', 'data' : {'bus_num': %d, 'addr': %d}" qemu_error_new(QERR_DEVICE_ALREADY_OPEN, bus_num, addr); What about DeviceAlreadyOpen errors with a different argument list? Why would you have this? Tha

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-12 Thread Luiz Capitulino
On Wed, 11 Nov 2009 15:20:30 -0600 Anthony Liguori wrote: > Luiz Capitulino wrote: > > Hi, > > > > I can't remember seeing updated versions of a RFC series, but this should > > prevent Anthony's scripts from merging these patches. > > > > This new QError version has two major changes: the stat

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-11 Thread Luiz Capitulino
On Wed, 11 Nov 2009 15:20:30 -0600 Anthony Liguori wrote: > Luiz Capitulino wrote: > > Hi, > > > > I can't remember seeing updated versions of a RFC series, but this should > > prevent Anthony's scripts from merging these patches. > > > > This new QError version has two major changes: the stat

Re: [Qemu-devel] [RFC 0/8]: QError v2

2009-11-11 Thread Anthony Liguori
Luiz Capitulino wrote: Hi, I can't remember seeing updated versions of a RFC series, but this should prevent Anthony's scripts from merging these patches. This new QError version has two major changes: the static error table has been dropped and I'm using symbolic names instead of error code

[Qemu-devel] [RFC 0/8]: QError v2

2009-11-04 Thread Luiz Capitulino
Hi, I can't remember seeing updated versions of a RFC series, but this should prevent Anthony's scripts from merging these patches. This new QError version has two major changes: the static error table has been dropped and I'm using symbolic names instead of error codes. Now, a call to: mon