|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH RFC v7 2/9] qemu_init_vcpu: add a new Error parameter to propagate |
Date: | Mon, 05 Nov 2018 14:34:46 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Fei Li <address@hidden> wrote: > This patch is to pave the way for a later patch as it is too long: > "qemu_thread_create: propagate the error to callers to handle." > > The callers of qemu_init_vcpu() already passed the **errp to handle > errors. In view of this, add a new Error parameter to all the > functions called by qemu_init_vcpu() to propagate the error and let > the further callers check it. > > Besides, make qemu_init_vcpu() return a Boolean value to let its > callers know whether it succeeds. > > Signed-off-by: Fei Li <address@hidden> > Reviewed-by: Fam Zheng <address@hidden> Reviewed-by: Juan Quintela <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |