pseries: Replace non-portable asprintf by g_strdup_printf
commit4ecf8aa5a06a830b05c035a5d6184bf991931d20
authorStefan Weil <sw@weilnetz.de>
Wed, 16 Jan 2013 17:22:29 +0000 (16 18:22 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 16 Jan 2013 18:02:30 +0000 (16 12:02 -0600)
treebb284f1cdf84ea500875745a01582aa49f00309a
parentb8e76b35d47d03f6f9bb3a7455316aaed8b25795
pseries: Replace non-portable asprintf by g_strdup_printf

g_strdup_printf already handles OOM errors, so some error handling in
QEMU code can be removed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/spapr.c
hw/spapr_vio.c