[PATCH v2] nodedev: fix internal error when no defined mdevs exist
Shalini Chellathurai Saroja
shalini at linux.ibm.com
Thu Jul 15 13:26:38 UTC 2021
On 7/14/21 6:40 PM, Boris Fiuczynski wrote:
> Commit e9b534905f4 introduced an error when parsing an empty list
> returned from mdevctl.
>
> This occurs e.g. if nodedev-undefine is used to undefine the last
> defined mdev which cuases the following error messages
>
> libvirtd[33143]: internal error: Unexpected format for mdevctl response
> libvirtd[33143]: internal error: failed to query mdevs from mdevctl:
> libvirtd[33143]: mdevctl failed to updated mediated devices
>
> Signed-off-by: Boris Fiuczynski<fiuczy at linux.ibm.com>
Hello Boris,
I tested the patch, it works fine.
Reviewed-by: Shalini Chellathurai Saroja <shalini at linux.ibm.com>
--
Kind regards
Shalini Chellathurai Saroja
Linux on Z and Virtualization Development
Vorsitzende des Aufsichtsrats: Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
More information about the libvir-list
mailing list