Commit 878d325
committed
guestfs: fix PCIe passthrough device attachment
The virsh attach-device command was receiving the entire file
information dictionary instead of just the file path, causing:
error: Failed to open file '{'path': '/path/to/file.xml', ...}'
Fixed by using {{ item.path }} instead of {{ item }} to extract
just the file path from the find results.
Generated-by: Claude AI
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 21baf19 commit 878d325
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments