Re: [Qemu-devel] [PATCH v2 3/4] console: Abort on property access errors

2014-05-21 Thread Gerd Hoffmann
On Do, 2014-04-24 at 18:15 +0400, Kirill Batuzov wrote: > All defined properties of QemuConsole are mandatory and no access to them > should fail. Nevertheless not checking returned errors is bad because in case > of unexpected failure it will hide the bug and cause a memory leak. > > Abort in cas

Re: [Qemu-devel] [PATCH v2 3/4] console: Abort on property access errors

2014-05-08 Thread Kirill Batuzov
On Thu, 24 Apr 2014, Kirill Batuzov wrote: > All defined properties of QemuConsole are mandatory and no access to them > should fail. Nevertheless not checking returned errors is bad because in case > of unexpected failure it will hide the bug and cause a memory leak. > > Abort in case of unexpec

[Qemu-devel] [PATCH v2 3/4] console: Abort on property access errors

2014-04-24 Thread Kirill Batuzov
All defined properties of QemuConsole are mandatory and no access to them should fail. Nevertheless not checking returned errors is bad because in case of unexpected failure it will hide the bug and cause a memory leak. Abort in case of unexpected property access errors. This change exposed a bug