[Qemu-devel] [PATCH v12 for-4.1 06/11] qemu_thread: supplement error handling for emulated_realize

2019-03-24 Thread Fei Li
From: Fei Li Utilize the existed errp to propagate the error and do the corresponding cleanup to replace the temporary _abort. Cc: Markus Armbruster Cc: Gerd Hoffmann Cc: Christophe Fergeau Cc: Marc-André Lureau Signed-off-by: Fei Li --- hw/usb/ccid-card-emulated.c | 17 -

[Qemu-devel] [PATCH v12 for-4.1 06/11] qemu_thread: supplement error handling for emulated_realize

2019-03-24 Thread Fei Li
From: Fei Li Utilize the existed errp to propagate the error and do the corresponding cleanup to replace the temporary _abort. Cc: Markus Armbruster Cc: Gerd Hoffmann Signed-off-by: Fei Li --- hw/usb/ccid-card-emulated.c | 17 - 1 file changed, 12 insertions(+), 5