Commit 69d4c0a
net_util: Treat tap EIO as transient error
Like EINVAL treat a EIO error from writing to the tap as a transient
error that should not be VM fatal. Such an error could be generated
when the TAP device is not yet ready as part of a restore cycle.
Fixes cloud-hypervisor#8722
Assisted-by: Claude:Fable-5
Signed-off-by: Rogelio Ruiz <rruiz@techxagon.io>1 parent 95bb967 commit 69d4c0a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
0 commit comments