Commit 4ea5d43
authored
Revert VM migration shutdown order change + change post_detach to post_deactivate (xapi-project#6260)
There are two parts to this PR:
1. Reverts the VM migration ordering change, which was previously
thought to be necessary as I did not see `VM_save` would actually
deactivate the source VM datapath. Thanks @edwintorok for pointing that
out.
2. Change `post_detach_hook` to `post_deactivate_hook`, as this should
have been called as soon as the datapath is deactivated, at which point
all r/w using that datapath will be stopped.
More details in the commit message.File tree
3 files changed
+16
-30
lines changed- ocaml
- xapi
- xenopsd/lib
3 files changed
+16
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
| 1323 | + | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| 425 | + | |
425 | 426 | | |
426 | 427 | | |
427 | 428 | | |
428 | | - | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2732 | 2732 | | |
2733 | 2733 | | |
2734 | 2734 | | |
2735 | | - | |
2736 | | - | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
2740 | | - | |
2741 | | - | |
2742 | | - | |
2743 | | - | |
2744 | | - | |
2745 | | - | |
2746 | | - | |
2747 | | - | |
2748 | | - | |
2749 | | - | |
2750 | | - | |
2751 | | - | |
2752 | 2735 | | |
2753 | 2736 | | |
2754 | 2737 | | |
| |||
2789 | 2772 | | |
2790 | 2773 | | |
2791 | 2774 | | |
2792 | | - | |
2793 | | - | |
2794 | | - | |
2795 | | - | |
| 2775 | + | |
2796 | 2776 | | |
2797 | 2777 | | |
2798 | 2778 | | |
| |||
2809 | 2789 | | |
2810 | 2790 | | |
2811 | 2791 | | |
2812 | | - | |
2813 | 2792 | | |
2814 | 2793 | | |
2815 | | - | |
2816 | | - | |
2817 | | - | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
2818 | 2806 | | |
2819 | 2807 | | |
2820 | 2808 | | |
| |||
2823 | 2811 | | |
2824 | 2812 | | |
2825 | 2813 | | |
2826 | | - | |
2827 | | - | |
2828 | 2814 | | |
2829 | | - | |
| 2815 | + | |
2830 | 2816 | | |
2831 | 2817 | | |
2832 | 2818 | | |
| |||
0 commit comments