Skip to content

<feature>[sdk]: support dgpu#3472

Open
MatheMatrix wants to merge 1 commit intofeature-5.5.12-dgpufrom
sync/xinhao.huang/feature-5.5.12-dgpu@@2
Open

<feature>[sdk]: support dgpu#3472
MatheMatrix wants to merge 1 commit intofeature-5.5.12-dgpufrom
sync/xinhao.huang/feature-5.5.12-dgpu@@2

Conversation

@MatheMatrix
Copy link
Owner

DBImpact

Resolves: ZSTAC-82677

Change-Id: I6b6a6766616d676e62676a66756f697469776764

sync from gitlab !9332

@coderabbitai
Copy link

coderabbitai bot commented Mar 12, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml (via .coderabbit.yaml)

Review profile: CHILL

Plan: Pro

Run ID: aa2d0fa3-6273-4319-85f1-479452c0495e

📥 Commits

Reviewing files that changed from the base of the PR and between 1a326c8 and f7d68ea.

⛔ Files ignored due to path filters (21)
  • sdk/src/main/java/SourceClassMap.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuDeviceInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuProfileInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/PciDeviceVirtStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyResult.java is excluded by !sdk/**
📒 Files selected for processing (4)
  • conf/db/upgrade/V5.5.12__schema.sql
  • header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java
  • testlib/src/main/java/org/zstack/testlib/ApiHelper.groovy
  • utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java
🚧 Files skipped from review as they are similar to previous changes (1)
  • header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java

Walkthrough

新增三张 dGPU/TensorFusion 相关数据库表;新增资源度量绑定扩展点接口;在测试库中添加大量 API 辅助方法;扩展错误码常量以包含更多 dGPU 标识。

Changes

Cohort / File(s) Summary
数据库表结构扩展
conf/db/upgrade/V5.5.12__schema.sql
新增三张表:DGpuProfileVO(主键 uuidgpuSpecUuidmemorySizeshmemSize 默认 268435456、唯一键 gpuSpecUuid,memorySize、外键 CASCADE)、DGpuDeviceVO(设备实体,含 parentGpuUuid/gpuSpecUuid/hostUuid 索引、多处外键,部分 ON DELETE CASCADE/SET NULL,包含内存、shmemSize、status 等字段)、VmInstanceDGpuStrategyVO(VM dGPU 策略表,主键 id、唯一键 vmInstanceUuid、索引 gpuSpecUuid、外键 CASCADE/SET NULL、含 memory/shmemSize/defaults 与控制标志)。
监控指标扩展点
header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java
新增公共接口 ResourceMetricBindingExtensionPoint 及内部类型 ResourceMetricBinding,声明方法 List<ResourceMetricBinding> getResourceMetricBindings(),并包含 resourceTypelogicalMetricNamesourceNamespacesourceMetricNameresourceFieldsourceLabelrequireUniqueSourceKey 的 getter/setter。
API 测试工具函数
testlib/src/main/java/org/zstack/testlib/ApiHelper.groovy
新增大量测试/辅助 API 封装方法(约 +220 行),模式统一:构建 action、注入 sessionId、设置 delegate/resolve 策略、调用并处理错误与 ApiPathTracker,涵盖监控/告警/模板/第三方集成等多类操作。
错误代码常量
utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java
新增一组 dGPU 相关错误码常量(例如 ORG_ZSTACK_DGPU_10001ORG_ZSTACK_DGPU_10009),扩展现有 dGPU 错误码集合。

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 我在代码田野跳一跳,新增表格如新草,
指标线索悄织好,扩展点里藏着桥,
测试助手列成长队,调用路径并肩跑,
错误码添了新名号,迁移脚步稳且俏。

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed PR标题"[feature][sdk]: support dgpu"清晰地总结了主要变更,即添加dGPU支持功能。标题与changeset直接相关。
Description check ✅ Passed PR描述与changeset相关,包含JIRA问题引用ZSTAC-82677和gitlab同步信息,说明了变更的来源和影响。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch sync/xinhao.huang/feature-5.5.12-dgpu@@2
📝 Coding Plan
  • Generate coding plan for human review comments

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ast-grep (0.41.1)
utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java (1)

5-5: 接口及方法缺少 Javadoc 注释

根据编码规范,接口方法必须配有有效的 Javadoc 注释。当前接口和 getResourceMetricBindings() 方法均缺少文档说明,建议补充以便其他开发者理解此扩展点的用途和使用方式。

📝 建议添加 Javadoc 注释
 package org.zstack.header.zwatch;
 
 import java.util.List;
 
+/**
+ * Extension point for registering resource metric bindings.
+ * Implementations provide mappings between logical metrics and their sources.
+ */
 public interface ResourceMetricBindingExtensionPoint {
     class ResourceMetricBinding {
         // ... fields and methods ...
     }
 
+    /**
+     * Returns the list of resource metric bindings provided by this extension.
+     *
+     * `@return` list of ResourceMetricBinding configurations
+     */
     List<ResourceMetricBinding> getResourceMetricBindings();
 }

As per coding guidelines: "接口方法不应有多余的修饰符(例如 public),且必须配有有效的 Javadoc 注释。"

Also applies to: 72-72

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java`
at line 5, Add Javadoc to the ResourceMetricBindingExtensionPoint interface and
its getResourceMetricBindings() method describing the purpose, expected
behavior, return value and usage examples; also remove any redundant access
modifier from the interface method (do not declare it as public) so the method
uses the implicit interface visibility. Locate the
ResourceMetricBindingExtensionPoint declaration and the
getResourceMetricBindings() method to add concise JavaDoc blocks that follow
project conventions.
conf/db/upgrade/V5.5.12__schema.sql (1)

86-86: 请确认 gpuDeviceUuid 的语义并对齐外键目标。

列名看起来像 dGPU 设备 UUID,但这里的外键指向的是 PciDeviceVO。如果这里实际保存的是 dGPU 设备 UUID,当前外键不会保护到 DGpuDeviceVO 的引用完整性;如果这里保存的是物理 GPU UUID,建议把列名改成 parentGpuUuidpciDeviceUuid,避免后续代码按名字误用。

Also applies to: 98-99

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@conf/db/upgrade/V5.5.12__schema.sql` at line 86, 确认列 gpuDeviceUuid
的语义并与外键目标对齐:如果该列保存的是 dGPU 设备 UUID,则应改为引用 DGpuDeviceVO 或把外键指向
DGpuDeviceVO;如果保存的是物理 PCI 设备 UUID,则将列名改为 parentGpuUuid 或 pciDeviceUuid 并保持外键指向
PciDeviceVO;更新 V5.5.12__schema.sql
中相关列定义和外键约束(包括文件中另外提到的第98-99行)以反映最终语义,并同时调整任何依赖该列名的后续代码或注释以避免歧义。
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@conf/db/upgrade/V5.5.12__schema.sql`:
- Around line 37-48: 当前的 CREATE TABLE/REFERENCES 语句未显式限定
schema,导致在非默认库上下文执行时建表或外键到错误 schema;请在涉及的表定义(例如 DGpuProfileVO 的 CREATE
TABLE)和外键约束(例如 CONSTRAINT fk_dgpu_profile_spec REFERENCES
GpuDeviceSpecVO(`uuid`))中把表名都改为带 schema 的形式,如
zstack.`DGpuProfileVO`、zstack.`GpuDeviceSpecVO`(同理修正其他两个 CREATE TABLE/REFERENCES
段及脚本中引用的表名,例如 zstack.`UsedIpVO`),确保所有 CREATE TABLE、UNIQUE KEY、FOREIGN KEY
REFERENCES 都显式使用 zstack schema。
- Around line 84-85: Change the capacity columns to unsigned to prevent negative
values and match other tables: update the column definitions for `memorySize`
and `shmemSizeMb` from `BIGINT` to `BIGINT UNSIGNED` (keeping the NOT NULL and
the default 4096 on `shmemSizeMb`), and ensure any related constraints or
inserts expecting signed values are adjusted to use non-negative values as
needed.

---

Nitpick comments:
In `@conf/db/upgrade/V5.5.12__schema.sql`:
- Line 86: 确认列 gpuDeviceUuid 的语义并与外键目标对齐:如果该列保存的是 dGPU 设备 UUID,则应改为引用
DGpuDeviceVO 或把外键指向 DGpuDeviceVO;如果保存的是物理 PCI 设备 UUID,则将列名改为 parentGpuUuid 或
pciDeviceUuid 并保持外键指向 PciDeviceVO;更新 V5.5.12__schema.sql
中相关列定义和外键约束(包括文件中另外提到的第98-99行)以反映最终语义,并同时调整任何依赖该列名的后续代码或注释以避免歧义。

In
`@header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java`:
- Line 5: Add Javadoc to the ResourceMetricBindingExtensionPoint interface and
its getResourceMetricBindings() method describing the purpose, expected
behavior, return value and usage examples; also remove any redundant access
modifier from the interface method (do not declare it as public) so the method
uses the implicit interface visibility. Locate the
ResourceMetricBindingExtensionPoint declaration and the
getResourceMetricBindings() method to add concise JavaDoc blocks that follow
project conventions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml (via .coderabbit.yaml)

Review profile: CHILL

Plan: Pro

Run ID: 4c6b0a2e-b4ac-4896-8c5e-fd962ca8f65f

📥 Commits

Reviewing files that changed from the base of the PR and between b00e763 and 456b047.

⛔ Files ignored due to path filters (21)
  • sdk/src/main/java/SourceClassMap.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuDeviceInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuProfileInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/PciDeviceVirtStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyResult.java is excluded by !sdk/**
📒 Files selected for processing (4)
  • conf/db/upgrade/V5.5.12__schema.sql
  • header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java
  • testlib/src/main/java/org/zstack/testlib/ApiHelper.groovy
  • utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java

Comment on lines +84 to +85
`memorySize` BIGINT NOT NULL,
`shmemSizeMb` BIGINT NOT NULL DEFAULT 4096,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

容量字段应改成无符号类型。

memorySizeshmemSizeMb 表示容量,这里定义成有符号 BIGINT 会允许负数入库,而且和前两张表的 BIGINT UNSIGNED 不一致。

建议改法
-    `memorySize`       BIGINT          NOT NULL,
-    `shmemSizeMb`      BIGINT          NOT NULL DEFAULT 4096,
+    `memorySize`       BIGINT UNSIGNED NOT NULL,
+    `shmemSizeMb`      BIGINT UNSIGNED NOT NULL DEFAULT 4096,
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@conf/db/upgrade/V5.5.12__schema.sql` around lines 84 - 85, Change the
capacity columns to unsigned to prevent negative values and match other tables:
update the column definitions for `memorySize` and `shmemSizeMb` from `BIGINT`
to `BIGINT UNSIGNED` (keeping the NOT NULL and the default 4096 on
`shmemSizeMb`), and ensure any related constraints or inserts expecting signed
values are adjusted to use non-negative values as needed.

@MatheMatrix MatheMatrix force-pushed the sync/xinhao.huang/feature-5.5.12-dgpu@@2 branch from 456b047 to 0b3af1f Compare March 12, 2026 09:42
@MatheMatrix
Copy link
Owner Author

Comment from yaohua.wu:

Review: MR !9332 — ZSTAC-82677 (zstack)

Feature: 支持 dGPU — SDK/API 定义 + DB Schema + 监控扩展点

Warning

  1. [conf/db/upgrade/V5.5.12__schema.sql:56] VmInstanceDGpuStrategyVO.memorySize 类型不一致memorySize 定义为 BIGINT(有符号),而同文件中 DGpuProfileVO 和 DGpuDeviceVO 的容量字段均为 BIGINT UNSIGNED。建议统一为 BIGINT UNSIGNED 防止负数入库。

  2. [conf/db/upgrade/V5.5.12__schema.sql:56] VmInstanceDGpuStrategyVO.shmemSizeMb 类型不一致 — 同上,shmemSizeMb BIGINT UNSIGNEDmemorySize BIGINT 在同一张表中混用有符号/无符号,建议统一。

  3. [conf/db/upgrade/V5.5.12__schema.sql] 未显式指定 zstack schema — CREATE TABLE 语句未使用 zstack. 前缀。在 conf/db/upgrade 目录下的脚本,如果执行上下文不是 zstack 库,表和外键会建到错误 schema。建议统一加 zstack. 前缀。

Suggestion

  1. [header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java] 缺少 Javadoc — 新增的扩展点接口和方法缺少文档说明,建议补充 Javadoc 描述用途和使用方式。

  2. [sdk/src/main/java/org/zstack/sdk/DGpuDeviceInventory.java] SDK 类字段使用 public 修饰 — 所有字段均为 public,虽然这是 SDK 的代码生成风格,但不影响功能。

Verdict: APPROVED

DB schema 设计合理(3 张表职责清晰:Profile 模板、Device 实例、Strategy 策略),外键和索引配置正确。ResourceMetricBindingExtensionPoint 提供了良好的监控扩展机制。以上 Warning 建议修复后合并。


🤖 Robot Reviewer

@MatheMatrix MatheMatrix force-pushed the sync/xinhao.huang/feature-5.5.12-dgpu@@2 branch 2 times, most recently from 9f27712 to 1a326c8 Compare March 13, 2026 07:03
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
conf/db/upgrade/V5.5.12__schema.sql (1)

42-43: TIMESTAMP 列缺少 DEFAULT 值。

createDatelastOpDate 定义为 TIMESTAMP NOT NULL 但未指定 DEFAULT。在某些 MySQL 模式(如启用 NO_ZERO_DATE)下,插入时若未显式赋值可能导致错误。建议显式指定默认值。

建议修改
-    `createDate`  TIMESTAMP        NOT NULL,
-    `lastOpDate`  TIMESTAMP        NOT NULL,
+    `createDate`  TIMESTAMP        NOT NULL DEFAULT CURRENT_TIMESTAMP,
+    `lastOpDate`  TIMESTAMP        NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

三张表的 createDatelastOpDate 均需类似调整。

Also applies to: 64-65, 89-90

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@conf/db/upgrade/V5.5.12__schema.sql` around lines 42 - 43, The TIMESTAMP
columns createDate and lastOpDate are declared NOT NULL without defaults; update
each table definition (for the occurrences around the shown diffs — the three
tables referenced at lines ~42-43, ~64-65, ~89-90) so that createDate has
DEFAULT CURRENT_TIMESTAMP and lastOpDate has DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP (or at minimum DEFAULT CURRENT_TIMESTAMP) to avoid
NO_ZERO_DATE insert errors and ensure lastOpDate updates automatically; modify
the column definitions for createDate and lastOpDate accordingly in each
affected CREATE TABLE statement.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@conf/db/upgrade/V5.5.12__schema.sql`:
- Around line 42-43: The TIMESTAMP columns createDate and lastOpDate are
declared NOT NULL without defaults; update each table definition (for the
occurrences around the shown diffs — the three tables referenced at lines
~42-43, ~64-65, ~89-90) so that createDate has DEFAULT CURRENT_TIMESTAMP and
lastOpDate has DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP (or at
minimum DEFAULT CURRENT_TIMESTAMP) to avoid NO_ZERO_DATE insert errors and
ensure lastOpDate updates automatically; modify the column definitions for
createDate and lastOpDate accordingly in each affected CREATE TABLE statement.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml (via .coderabbit.yaml)

Review profile: CHILL

Plan: Pro

Run ID: e7ab2f82-a51a-46bb-9b52-8b31857b6fbc

📥 Commits

Reviewing files that changed from the base of the PR and between 9f27712 and 1a326c8.

⛔ Files ignored due to path filters (21)
  • sdk/src/main/java/SourceClassMap.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuDeviceInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuProfileInventory.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DGpuStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DetachDGpuFromVmResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/DisableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/EnableDGpuModeResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/PciDeviceVirtStatus.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuDeviceResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/QueryDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/RemoveVmDGpuStrategyResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetDGpuProfileResult.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyAction.java is excluded by !sdk/**
  • sdk/src/main/java/org/zstack/sdk/SetVmDGpuStrategyResult.java is excluded by !sdk/**
📒 Files selected for processing (4)
  • conf/db/upgrade/V5.5.12__schema.sql
  • header/src/main/java/org/zstack/header/zwatch/ResourceMetricBindingExtensionPoint.java
  • testlib/src/main/java/org/zstack/testlib/ApiHelper.groovy
  • utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java

DBImpact

Resolves: ZSTAC-82677

Change-Id: I6b6a6766616d676e62676a66756f697469776764
@MatheMatrix MatheMatrix force-pushed the sync/xinhao.huang/feature-5.5.12-dgpu@@2 branch from 1a326c8 to f7d68ea Compare March 13, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant