File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2988,6 +2988,7 @@ and perform_exn ?result (op : operation) (t : Xenops_task.task_handle) : unit =
2988
2988
]
2989
2989
)
2990
2990
t ;
2991
+ with_tracing ~task: t ~name: " VM_migrate_downtime_end" Fun. id ;
2991
2992
Handshake. send s Handshake. Success ;
2992
2993
debug " VM.receive_memory: Synchronisation point 4"
2993
2994
with e ->
Original file line number Diff line number Diff line change @@ -2515,6 +2515,7 @@ module VM = struct
2515
2515
@@ fun () -> pre_suspend_callback task
2516
2516
) ;
2517
2517
2518
+ with_tracing ~task ~name: " VM_save_request_shutdown" @@ fun () ->
2518
2519
if
2519
2520
not
2520
2521
( with_tracing ~task
@@ -2523,6 +2524,13 @@ module VM = struct
2523
2524
)
2524
2525
then
2525
2526
raise (Xenopsd_error Failed_to_acknowledge_suspend_request ) ;
2527
+ (* If this is for a migration, record the begin time *)
2528
+ ( match data with
2529
+ | FD _ ->
2530
+ with_tracing ~task ~name: " VM_migrate_downtime_begin" Fun. id
2531
+ | _ ->
2532
+ ()
2533
+ ) ;
2526
2534
if
2527
2535
not
2528
2536
( with_tracing ~task
You can’t perform that action at this time.
0 commit comments