enhance error handling in kvmppc_read_int*
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest4 patches 0 repliesNew
Changes in v3 from the cover letter
- former patch 1/1: dropped
- patch 1 (former 3):
- use error_setg_errno() instead of error_setg()
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg01167.html
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/ppc: add error report when fopen fails in kvmppc_read_int_dt()target/ | +4 | 0 replies | |
| 2/4 | target/ppc: enhance error report in kvmppc_read_int_cpu_dt()target/ | +11 | 0 replies | |
| 3/4 | target/ppc: use g_autofree in kvmppc_read_int_cpu_dt()target/ | +3 | 0 replies | |
| 4/4 | target/ppc: exit(1) on failure in kvmppc_get_clockfreq()target/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] enhance error handling in kvmppc_read_int*
Hi,
In this v3 I changed the error report after fopen() to use error_setg_errno(), as suggested by Cedric.
I also cut patch 1/1 because it's simpler to do all the function changes in a single patch instead of having a separated patch just to change the return value of both.
Changes from v2:
- former patch 1/1: dropped
- patch 1 (former 3):
- use error_setg_errno() instead of error_setg()
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg01167.html
Daniel Henrique Barboza (3):
target/ppc: enhance error report in kvmppc_read_int_cpu_dt() target/ppc: use g_autofree in kvmppc_read_int_cpu_dt() target/ppc: exit(1) on failure in kvmppc_get_clockfreq()
jianchunfu (1):
target/ppc: add error report when fopen fails in kvmppc_read_int_dt()
target/ppc/kvm.c | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-)
Signature · 1 line
2.36.1