/openbmc/qemu/include/qemu/ |
H A D | option.h | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
/openbmc/qemu/util/ |
H A D | qemu-option.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
/openbmc/qemu/block/ |
H A D | vvfat.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
H A D | nbd.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
H A D | qcow2.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
/openbmc/qemu/ |
H A D | qemu-img.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
H A D | block.c | diff 39101f2511f6adf1ae4380f8d729dba1213b9d7a Thu Feb 12 09:46:36 CST 2015 Markus Armbruster <armbru@redhat.com> QemuOpts: Convert qemu_opt_set_number() to Error, fix its use
Return the Error object instead of reporting it with qerror_report_err().
Change callers that assume the function can't fail to pass &error_abort, so that should the assumption ever break, it'll break noisily.
Turns out all callers outside its unit test assume that. We could drop the Error ** argument, but that would make the interface less regular, so don't.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|