Skip to content

Commit 3eaf25c

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 <christian.lindig@citrix.com>
1 parent d630983 commit 3eaf25c

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)