Commit dc05564
committed
Add traits for viommu model
* Add iommu model trait for viommu model
* Add ``hw_viommu_model`` to request_filter, this will extend the
transform_image_metadata prefilter to select host with the correct model.
* Provide new compute ``COMPUTE_VIOMMU_MODEL_*`` capablity trait for each model
it supports in driver.
Implements: blueprint libvirt-viommu-device
Depends-On: https://review.opendev.org/c/openstack/os-traits/+/844336
Change-Id: I2caa1a9c473a2b11c287061280b4a78edb96f8591 parent 14e3b35 commit dc05564
File tree
4 files changed
+44
-5
lines changed- nova
- scheduler
- tests/unit/virt/libvirt
- virt/libvirt
4 files changed
+44
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4156 | 4156 | | |
4157 | 4157 | | |
4158 | 4158 | | |
4159 | | - | |
| 4159 | + | |
| 4160 | + | |
4160 | 4161 | | |
4161 | 4162 | | |
4162 | 4163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| 964 | + | |
964 | 965 | | |
965 | | - | |
966 | | - | |
| 966 | + | |
| 967 | + | |
967 | 968 | | |
968 | 969 | | |
969 | 970 | | |
| |||
974 | 975 | | |
975 | 976 | | |
976 | 977 | | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
977 | 981 | | |
978 | 982 | | |
979 | | - | |
980 | | - | |
981 | 983 | | |
982 | 984 | | |
983 | 985 | | |
984 | 986 | | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
985 | 993 | | |
986 | 994 | | |
987 | 995 | | |
| |||
1027 | 1035 | | |
1028 | 1036 | | |
1029 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1030 | 1042 | | |
1031 | 1043 | | |
1032 | 1044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8922 | 8922 | | |
8923 | 8923 | | |
8924 | 8924 | | |
| 8925 | + | |
8925 | 8926 | | |
8926 | 8927 | | |
8927 | 8928 | | |
| |||
12198 | 12199 | | |
12199 | 12200 | | |
12200 | 12201 | | |
| 12202 | + | |
| 12203 | + | |
| 12204 | + | |
| 12205 | + | |
| 12206 | + | |
| 12207 | + | |
| 12208 | + | |
| 12209 | + | |
| 12210 | + | |
| 12211 | + | |
| 12212 | + | |
| 12213 | + | |
| 12214 | + | |
| 12215 | + | |
| 12216 | + | |
| 12217 | + | |
| 12218 | + | |
| 12219 | + | |
| 12220 | + | |
| 12221 | + | |
| 12222 | + | |
| 12223 | + | |
| 12224 | + | |
| 12225 | + | |
12201 | 12226 | | |
12202 | 12227 | | |
12203 | 12228 | | |
| |||
0 commit comments