Re: [libvirt PATCH v2 3/5] nodedev: add macro to handle command errors

2021-06-23 Thread Boris Fiuczynski
On 6/22/21 9:53 PM, Jonathon Jongsma wrote: This macro will be utilized in the following patch. Since mdevctl commands can fail with or without an error message, this macro makes it easy to print a fallback error in the case that the error message is not set. Signed-off-by: Jonathon Jongsma ---

[libvirt PATCH v2 3/5] nodedev: add macro to handle command errors

2021-06-22 Thread Jonathon Jongsma
This macro will be utilized in the following patch. Since mdevctl commands can fail with or without an error message, this macro makes it easy to print a fallback error in the case that the error message is not set. Signed-off-by: Jonathon Jongsma --- src/node_device/node_device_driver.c | 7 +++