File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ module Vm = struct
153153 type builder_info =
154154 | HVM of hvm_info
155155 | PV of pv_info
156+ | PVinPVH of pv_info
156157 [@@ deriving rpc , sexp ]
157158
158159 let default_builder_info = HVM default_hvm_info
@@ -240,6 +241,13 @@ module Vm = struct
240241 path : string ;
241242 } [@@ deriving rpc , sexp ]
242243
244+ type domain_type =
245+ | Domain_HVM
246+ | Domain_PV
247+ | Domain_PVinPVH
248+ | Domain_undefined
249+ [@@ deriving rpc , sexp ]
250+
243251 type state = {
244252 power_state : TopLevel .power_state ;
245253 domids : int list ;
@@ -257,7 +265,8 @@ module Vm = struct
257265 last_start_time : float ;
258266 hvm : bool ;
259267 nomigrate : bool ; (* true: VM must not migrate *)
260- nested_virt : bool (* true: VM uses nested virtualisation *)
268+ nested_virt : bool ; (* true: VM uses nested virtualisation *)
269+ domain_type : domain_type ;
261270 } [@@ deriving rpc , sexp ]
262271
263272end
You can’t perform that action at this time.
0 commit comments