Re: [Qemu-devel] [PATCH v3 1/4] bootdevice: remove the check about boot_set_handler

2015-02-12 Thread Markus Armbruster
arei.gong...@huawei.com writes: From: Gonglei arei.gong...@huawei.com The reset logic can be done by both machine reset and boot handler. So we shouldn't return error when the boot handler callback don't be set. Signed-off-by: Gonglei arei.gong...@huawei.com Reviewed-by: Alexander Graf

Re: [Qemu-devel] [PATCH v3 1/4] bootdevice: remove the check about boot_set_handler

2015-02-12 Thread Gonglei
On 2015/2/12 18:19, Markus Armbruster wrote: arei.gong...@huawei.com writes: From: Gonglei arei.gong...@huawei.com The reset logic can be done by both machine reset and boot handler. So we shouldn't return error when the boot handler callback don't be set. Signed-off-by: Gonglei

[Qemu-devel] [PATCH v3 1/4] bootdevice: remove the check about boot_set_handler

2015-02-06 Thread arei.gonglei
From: Gonglei arei.gong...@huawei.com The reset logic can be done by both machine reset and boot handler. So we shouldn't return error when the boot handler callback don't be set. Signed-off-by: Gonglei arei.gong...@huawei.com Reviewed-by: Alexander Graf ag...@suse.de --- bootdevice.c | 10