Commit b9feb05
Reattach mdevs to guest on resume
When suspending a VM in OpenStack, Nova detaches all the mediated
devices from the guest machine, but does not reattach them on the resume
operation. This patch makes Nova reattach the mdevs that were detached
when the guest was suspended.
This behavior is due to libvirt not supporting the hot-unplug of
mediated devices at the time the feature was being developed. The
limitation has been lifted since then, and now we have to amend the
resume function so it will reattach the mediated devices that were
detached on suspension.
Changes:
doc/source/admin/virtual-gpu.rst
NOTE(elod.illes): updated the doc to reflect the new state.
Closes-bug: #1948705
Signed-off-by: Gustavo Santos <[email protected]>
Change-Id: I083929f36d9e78bf7713a87cae6d581e0d946867
(cherry picked from commit 16f7c60)
(cherry picked from commit 15c32e8)1 parent 6c3d5de commit b9feb05
File tree
4 files changed
+108
-7
lines changed- doc/source/admin
- nova
- tests/unit/virt/libvirt
- virt/libvirt
- releasenotes/notes
4 files changed
+108
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
309 | 314 | | |
310 | 315 | | |
311 | 316 | | |
| |||
355 | 360 | | |
356 | 361 | | |
357 | 362 | | |
| 363 | + | |
358 | 364 | | |
359 | 365 | | |
360 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16471 | 16471 | | |
16472 | 16472 | | |
16473 | 16473 | | |
| 16474 | + | |
| 16475 | + | |
| 16476 | + | |
| 16477 | + | |
16474 | 16478 | | |
16475 | 16479 | | |
16476 | | - | |
| 16480 | + | |
| 16481 | + | |
| 16482 | + | |
16477 | 16483 | | |
16478 | 16484 | | |
16479 | 16485 | | |
| |||
16488 | 16494 | | |
16489 | 16495 | | |
16490 | 16496 | | |
| 16497 | + | |
| 16498 | + | |
| 16499 | + | |
16491 | 16500 | | |
16492 | 16501 | | |
16493 | 16502 | | |
| |||
25825 | 25834 | | |
25826 | 25835 | | |
25827 | 25836 | | |
| 25837 | + | |
| 25838 | + | |
| 25839 | + | |
| 25840 | + | |
| 25841 | + | |
| 25842 | + | |
| 25843 | + | |
| 25844 | + | |
| 25845 | + | |
| 25846 | + | |
| 25847 | + | |
| 25848 | + | |
| 25849 | + | |
| 25850 | + | |
| 25851 | + | |
| 25852 | + | |
| 25853 | + | |
| 25854 | + | |
| 25855 | + | |
| 25856 | + | |
| 25857 | + | |
| 25858 | + | |
| 25859 | + | |
| 25860 | + | |
| 25861 | + | |
| 25862 | + | |
| 25863 | + | |
| 25864 | + | |
| 25865 | + | |
| 25866 | + | |
| 25867 | + | |
| 25868 | + | |
| 25869 | + | |
| 25870 | + | |
| 25871 | + | |
| 25872 | + | |
| 25873 | + | |
| 25874 | + | |
| 25875 | + | |
| 25876 | + | |
| 25877 | + | |
| 25878 | + | |
| 25879 | + | |
| 25880 | + | |
| 25881 | + | |
| 25882 | + | |
| 25883 | + | |
| 25884 | + | |
| 25885 | + | |
25828 | 25886 | | |
25829 | 25887 | | |
25830 | 25888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3960 | 3960 | | |
3961 | 3961 | | |
3962 | 3962 | | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
3963 | 3967 | | |
3964 | 3968 | | |
3965 | 3969 | | |
| |||
3969 | 3973 | | |
3970 | 3974 | | |
3971 | 3975 | | |
| 3976 | + | |
3972 | 3977 | | |
3973 | 3978 | | |
3974 | 3979 | | |
| |||
7953 | 7958 | | |
7954 | 7959 | | |
7955 | 7960 | | |
7956 | | - | |
7957 | | - | |
7958 | | - | |
7959 | | - | |
7960 | | - | |
7961 | | - | |
7962 | 7961 | | |
7963 | 7962 | | |
7964 | 7963 | | |
| |||
7967 | 7966 | | |
7968 | 7967 | | |
7969 | 7968 | | |
| 7969 | + | |
| 7970 | + | |
| 7971 | + | |
| 7972 | + | |
| 7973 | + | |
| 7974 | + | |
| 7975 | + | |
| 7976 | + | |
| 7977 | + | |
| 7978 | + | |
| 7979 | + | |
| 7980 | + | |
| 7981 | + | |
| 7982 | + | |
| 7983 | + | |
| 7984 | + | |
| 7985 | + | |
| 7986 | + | |
| 7987 | + | |
| 7988 | + | |
| 7989 | + | |
| 7990 | + | |
| 7991 | + | |
| 7992 | + | |
| 7993 | + | |
| 7994 | + | |
| 7995 | + | |
| 7996 | + | |
| 7997 | + | |
| 7998 | + | |
| 7999 | + | |
| 8000 | + | |
7970 | 8001 | | |
7971 | 8002 | | |
7972 | 8003 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments