Re: [PATCH] nodedev: fix error when no defined mdev exist

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

 



On 7/9/21 5:27 PM, Boris Fiuczynski wrote:
-        virJSONValue *child_array;
-        int nchildren;
+    if (virJSONValueArraySize(json_devicelist) > 0) {

This seems now to break nodedev-create which created transient devices since the related objects now also vanish.

I guess that must have been a late Friday outage...
My testing was erroneous and I did not use the newly created uuid thinking it was statically defined in the used XML to create the mdev which it wasn't. :(

Sorry about the confusion.


+        if (virJSONValueArraySize(json_devicelist) != 1) {


--
Mit freundlichen Grüßen/Kind regards
   Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux