History | View | Annotate | Download (1.8 kB)
Error: Introduce error_copy()
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Error: Fix build when qemu-common.h is not included
Commit e4ea5e2d0e0e4c5188ab45b66f3195062ae059dc added the use ofthe macro GCC_FMT_ATTR to error.h, however compiler.h is notincluded by error.h
This will cause a build error when files including error.h...
error framework: Fix compilation for w32/w64
The declaration of function error_set() should use macro GCC_FMT_ATTRinstead of gcc's format printf attribute.
For w32/w64, both declarations are different and GCC_FMT_ATTR is needed.Compilation for w64 even failed with the original code because mingw64...
Introduce the new error framework
New error-handling framework that allows for exception-like errorpropagation.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>