add warning banner for cpu pinning VM in migration dialog

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee authored and Francesco Torchia committed 2024-10-23 17:01:36 +02:00
1 parent 4e84b1264e
commit 42c431d278
3 files changed
+12 -2

No files matched your search

@@ -459,6 +459,10 @@ export default class VirtVm extends HarvesterResource {
return null;
}
get isCpuPinning() {
return this.spec?.template?.spec?.domain?.cpu?.dedicatedCpuPlacement === true;
}
get isVMExpectedRunning() {
if (!this?.spec) {
return false;