[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 0/4] enhance error handling in kvmppc_read_int*

From: Daniel Henrique Barboza
Subject: [PATCH v3 0/4] enhance error handling in kvmppc_read_int*
Date: Thu, 7 Jul 2022 18:30:11 -0300


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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]