Re: [Qemu-devel] [PATCH v11 for-4.0 02/11] qemu_thread: supplement error handling for qemu_X_start_vcpu

2019-02-01 Thread fei
> 在 2019年2月1日,20:33,Markus Armbruster 写道: > > Fei Li writes: > >> From: Fei Li >> >> The callers of qemu_init_vcpu() already passed the **errp to handle >> errors. In view of this, add a new Error parameter to qemu_init_vcpu() >> and all qemu_X_start_vcpu() functions called by qemu_init_vc

Re: [Qemu-devel] [PATCH v11 for-4.0 02/11] qemu_thread: supplement error handling for qemu_X_start_vcpu

2019-02-01 Thread Markus Armbruster
Fei Li writes: > From: Fei Li > > The callers of qemu_init_vcpu() already passed the **errp to handle > errors. In view of this, add a new Error parameter to qemu_init_vcpu() > and all qemu_X_start_vcpu() functions called by qemu_init_vcpu() to > propagate the error and let the further callers c

[Qemu-devel] [PATCH v11 for-4.0 02/11] qemu_thread: supplement error handling for qemu_X_start_vcpu

2019-01-31 Thread Fei Li
From: Fei Li The callers of qemu_init_vcpu() already passed the **errp to handle errors. In view of this, add a new Error parameter to qemu_init_vcpu() and all qemu_X_start_vcpu() functions called by qemu_init_vcpu() to propagate the error and let the further callers check it. Besides, make qemu