]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bootdevice.c
intel-iommu: trace domain id during page walk
[mirror_qemu.git] / bootdevice.c
index bb9c08e5357341bc96f87950d3df1c22d5a93ff8..114100911492c6fa15a64ab206d1de3eb885fcdc 100644 (file)
@@ -27,7 +27,7 @@
 #include "sysemu/sysemu.h"
 #include "qapi/visitor.h"
 #include "qemu/error-report.h"
-#include "hw/hw.h"
+#include "sysemu/reset.h"
 #include "hw/qdev-core.h"
 
 typedef struct FWBootEntry FWBootEntry;
@@ -302,9 +302,7 @@ static void device_set_bootindex(Object *obj, Visitor *v, const char *name,
     add_boot_device_path(*prop->bootindex, prop->dev, prop->suffix);
 
 out:
-    if (local_err) {
-        error_propagate(errp, local_err);
-    }
+    error_propagate(errp, local_err);
 }
 
 static void property_release_bootindex(Object *obj, const char *name,