Searched hist:"34 f2af3d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/acpi/ |
H A D | memory_hotplug.c | 903a41d3 Thu Nov 26 06:00:12 CST 2015 Stefano Dong (董兴水) <opensource.dxs@aliyun.com> Fix memory leak on error hw/ppc/spapr.c: Fix memory leak on error, it was introduced in bc09e0611 hw/acpi/memory_hotplug.c: Fix memory leak on error, it was introduced in 34f2af3d Signed-off-by: Stefano Dong (董兴水) <opensource.dxs@aliyun.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr.c | 903a41d3 Thu Nov 26 06:00:12 CST 2015 Stefano Dong (董兴水) <opensource.dxs@aliyun.com> Fix memory leak on error hw/ppc/spapr.c: Fix memory leak on error, it was introduced in bc09e0611 hw/acpi/memory_hotplug.c: Fix memory leak on error, it was introduced in 34f2af3d Signed-off-by: Stefano Dong (董兴水) <opensource.dxs@aliyun.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> 34f2af3d Thu Feb 05 03:34:48 CST 2015 Markus Armbruster <armbru@redhat.com> spapr: Clean up misuse of qdev_init() in xics-kvm creation We call try_create_xics() to create a "xics-kvm". If it fails, we call it again to fall back to plain "xics". try_create_xics() uses qdev_init(). qdev_init()'s error handling has an unwanted side effect: it calls qerror_report_err(), which prints to stderr. Looks like an error, but isn't. In QMP context, it would stash the error in the monitor instead, making the QMP command fail. Fortunately, it's only called from board initialization, never in QMP context. Clean up by cutting out the qdev_init() middle-man: set property "realized" directly. While there, improve the error message when we can't satisfy an explicit user request for "xics-kvm", and exit(1) instead of abort(). Simplify the abort when we can't create "xics". Signed-off-by: Markus Armbruster <armbru@redhat.com> [agraf: squash in fix for uninitialized variable from mdroth] Signed-off-by: Alexander Graf <agraf@suse.de>
|