This commit introduces virtnet_free_virtqueues called on all virtqueue error and shutdown paths. vpm_find_vqs no longer cleans up after itself and instead expects virtnet_free_virtqueues to be always called to undo its effect. Signed-off-by: Ladi Prosek <lprosek@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
391 |
|
391 |
|
392 |
|
392 |
|
393 |
|
393 |
|
394 |
|
|
|
|
394 |
|
|
395 |
|
395 |
|
396 |
|
396 |
|
397 |
|
397 |
|
|
|
||
405 |
|
405 |
|
406 |
|
406 |
|
407 |
|
407 |
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
408 |
|
|
|
||
175 |
|
175 |
|
176 |
|
176 |
|
177 |
|
177 |
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
178 |
|
194 |
|
179 |
|
195 |
|
180 |
|
196 |
|
|
|
||
200 |
|
216 |
|
201 |
|
217 |
|
202 |
|
218 |
|
203 |
|
|
|
204 |
|
|
|
|
219 |
|
|
205 |
|
220 |
|
206 |
|
221 |
|
207 |
|
222 |
|
|
|
||
263 |
|
278 |
|
264 |
|
279 |
|
265 |
|
280 |
|
266 |
|
|
|
267 |
|
|
|
|
281 |
|
|
268 |
|
282 |
|
269 |
|
283 |
|
270 |
|
284 |
|
|
|
||
304 |
|
318 |
|
305 |
|
319 |
|
306 |
|
320 |
|
307 |
|
|
|
308 |
|
321 |
|
309 |
|
322 |
|
310 |
|
323 |
|
|
|
||
313 |
|
326 |
|
314 |
|
327 |
|
315 |
|
328 |
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
|
329 |
|
|
322 |
|
330 |
|
323 |
|
331 |
|
324 |
|
332 |
|