Commit 046000c
committed
Implement VDI.export_changed_blocks XenAPI call
We require both SRs to be attached for the corner case where we ask for
the changed blocks between two VDIs from two different SRs. However,
this is not strictly necessary: in the above case we just return all the
blocks of the second VDI, so we only need the SR of the second VDI to be
attached.
For this operation, even though we could allow the VDI to be attached as
read-only, we require it to be detached, to simplify the implementation
of the storage plugins - now we have one less thing to consider, and
this makes the implementation more flexible.
Signed-off-by: Gabor Igloi <[email protected]>1 parent 786a6a0 commit 046000c
File tree
6 files changed
+57
-6
lines changed- ocaml
- idl
- xapi
6 files changed
+57
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6008 | 6008 | | |
6009 | 6009 | | |
6010 | 6010 | | |
| 6011 | + | |
6011 | 6012 | | |
6012 | 6013 | | |
6013 | 6014 | | |
| |||
6333 | 6334 | | |
6334 | 6335 | | |
6335 | 6336 | | |
| 6337 | + | |
6336 | 6338 | | |
6337 | 6339 | | |
6338 | 6340 | | |
| |||
6595 | 6597 | | |
6596 | 6598 | | |
6597 | 6599 | | |
| 6600 | + | |
| 6601 | + | |
| 6602 | + | |
| 6603 | + | |
| 6604 | + | |
| 6605 | + | |
| 6606 | + | |
| 6607 | + | |
| 6608 | + | |
| 6609 | + | |
| 6610 | + | |
| 6611 | + | |
| 6612 | + | |
| 6613 | + | |
| 6614 | + | |
| 6615 | + | |
| 6616 | + | |
| 6617 | + | |
| 6618 | + | |
| 6619 | + | |
6598 | 6620 | | |
6599 | 6621 | | |
6600 | 6622 | | |
| |||
6630 | 6652 | | |
6631 | 6653 | | |
6632 | 6654 | | |
| 6655 | + | |
6633 | 6656 | | |
6634 | 6657 | | |
6635 | 6658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3605 | 3605 | | |
3606 | 3606 | | |
3607 | 3607 | | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
3608 | 3618 | | |
3609 | 3619 | | |
3610 | 3620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
862 | 875 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
0 commit comments