Commit fdcff04
Zhang Wenhao
<refactor>[kvm]: use enum for vm host file sync reasons
Replace hardcoded strings with VmHostFileSyncReason enum
for vm host file synchronization operations. Add new enum
values for snapshot group online backup, revert snapshot
and volume backup scenarios. Update KvmSecureBootExtensions
and VolumeSnapshotGroupBase to use enum values instead of
hardcoded strings.
Resolves: ZSV-11560
Related: ZSV-11310
Change-Id: I6f7867777a616777636c64666a6b646d6d6e7a701 parent 7619fd7 commit fdcff04
3 files changed
Lines changed: 7 additions & 2 deletions
File tree
- header/src/main/java/org/zstack/header/vm/additions
- plugin/kvm/src/main/java/org/zstack/kvm/efi
- storage/src/main/java/org/zstack/storage/snapshot/group
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
702 | | - | |
| 703 | + | |
703 | 704 | | |
704 | 705 | | |
705 | 706 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
408 | | - | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
0 commit comments