Commit b012c35
Zhang Wenhao
<feature>[kvm]: refactor VmHostFileTO to support different operations
Split fileFormat into format and operation fields.
format only supports Raw and TarballGzip,
operation supports Write, Prepare, and Delete.
This allows better control over VM host file operations.
Related: ZSV-11310
Change-Id: I7074677a656969746d6d71736f6d6d6e626278661 parent 250163f commit b012c35
3 files changed
Lines changed: 27 additions & 8 deletions
File tree
- header/src/main/java/org/zstack/header/vm/additions
- plugin/kvm/src/main/java/org/zstack/kvm
- efi
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
2824 | 2823 | | |
2825 | 2824 | | |
2826 | 2825 | | |
2827 | | - | |
2828 | | - | |
2829 | 2826 | | |
2830 | 2827 | | |
2831 | 2828 | | |
2832 | 2829 | | |
2833 | 2830 | | |
2834 | 2831 | | |
2835 | 2832 | | |
2836 | | - | |
2837 | | - | |
2838 | | - | |
| 2833 | + | |
| 2834 | + | |
2839 | 2835 | | |
2840 | 2836 | | |
2841 | 2837 | | |
2842 | | - | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
2843 | 2845 | | |
2844 | 2846 | | |
2845 | 2847 | | |
| |||
2869 | 2871 | | |
2870 | 2872 | | |
2871 | 2873 | | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
2872 | 2882 | | |
2873 | 2883 | | |
2874 | 2884 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | | - | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| 470 | + | |
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| |||
0 commit comments