Commit b87ced4
libvirt: make mdev types name attribute be optional
Some GPU drivers like i915 don't provide a name attribute for mdev types.
As we don't use this attribute yet, let's just make sure we support the fact
it's optional.
Change-Id: Ia745ed7095c74e2bfba38379e623a3f81e7799eb
Closes-Bug: #1896741
(cherry picked from commit 416cd1a)1 parent 7baca2b commit b87ced4
File tree
2 files changed
+47
-1
lines changed- nova
- tests/unit/virt/libvirt
- virt/libvirt
2 files changed
+47
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
350 | 373 | | |
351 | 374 | | |
352 | 375 | | |
| |||
24999 | 25022 | | |
25000 | 25023 | | |
25001 | 25024 | | |
| 25025 | + | |
| 25026 | + | |
| 25027 | + | |
| 25028 | + | |
| 25029 | + | |
| 25030 | + | |
| 25031 | + | |
| 25032 | + | |
| 25033 | + | |
| 25034 | + | |
| 25035 | + | |
| 25036 | + | |
| 25037 | + | |
| 25038 | + | |
| 25039 | + | |
| 25040 | + | |
| 25041 | + | |
| 25042 | + | |
| 25043 | + | |
| 25044 | + | |
| 25045 | + | |
| 25046 | + | |
25002 | 25047 | | |
25003 | 25048 | | |
25004 | 25049 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7246 | 7246 | | |
7247 | 7247 | | |
7248 | 7248 | | |
7249 | | - | |
| 7249 | + | |
| 7250 | + | |
7250 | 7251 | | |
7251 | 7252 | | |
7252 | 7253 | | |
| |||
0 commit comments