Skip to content

Commit b235cfe

Browse files
committed
CP-18289 add nomigrate, nested_virt booleans to xenops state
The two values will be used to inform xapi about the mobility of a VM. A VM cannot migrate if it uses nested virtualisation or is explicitly configured to not migrate. Signed-off-by: Christian Lindig <[email protected]>
1 parent 5409243 commit b235cfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xen/xenops_interface.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ module Vm = struct
374374
pv_drivers_detected: bool;
375375
last_start_time: float;
376376
hvm: bool;
377+
nomigrate: bool; (* true: VM must not migrate *)
378+
nested_virt: bool (* true: VM uses nested virtualisation *)
377379
} with sexp
378380

379381
end

0 commit comments

Comments
 (0)