Skip to content

Commit

Permalink
CP-18289 add nomigrate, nested_virt booleans to xenops state
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
lindig committed Aug 17, 2016
1 parent d630983 commit 3eaf25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xen/xenops_interface.ml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ module Vm = struct
pv_drivers_detected: bool;
last_start_time: float;
hvm: bool;
nomigrate: bool; (* true: VM must not migrate *)
nested_virt: bool (* true: VM uses nested virtualisation *)
} with sexp

end
Expand Down

0 comments on commit 3eaf25c

Please sign in to comment.