acpi_table_add(): report fatal errors through an internal Error object
commit445d9cae371960671c1d762330d0d498c352dd3c
authorLaszlo Ersek <lersek@redhat.com>
Wed, 20 Mar 2013 23:23:15 +0000 (21 00:23 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Apr 2013 00:23:08 +0000 (4 19:23 -0500)
tree444b4864f54ea113e5180bb6973a2176acef572a
parentcb88a4ea79193cdbfb9b27bf9deb36c88ec9b6dc
acpi_table_add(): report fatal errors through an internal Error object

The upcoming changes will need a cleanup section at the end of the
function, plus OptsVisitor reports errors via Error. For now keep
channeling any Errors to stderr.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1363821803-3380-4-git-send-email-lersek@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c