Commit 0c4baa5
xinhao.huang
<fix>[gpu]: fix virtualized GPU incorrectly showing as allocatable
When GPU is virtualized (VFIO MDEV or SR-IOV), its allocateStatus should be
Unallocatable instead of Unallocated to prevent incorrect allocation.
Changes:
1. Add Unallocatable status to GpuAllocateStatus enum (SDK sync)
2. Add database migration SQL to fix existing data
DBImpact
Resolves: ZSTAC-81457
Change-Id: I66851c798d9a4cf2f401d24a6fdb9179972a154181 parent 7392c70 commit 0c4baa5
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
0 commit comments