Skip to content

Commit 7afb283

Browse files
authored
Merge pull request #265 from psafont/CP-30508
CP-30508: Expose iommu and hvm flags
2 parents 982b3e1 + ee9e929 commit 7afb283

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xen/xenops_interface.ml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,15 @@ module Host = struct
441441
; features_oldstyle: int64 array }
442442
[@@deriving rpcty]
443443

444+
type chipset_info = {iommu: bool; hvm: bool} [@@deriving rpcty]
445+
444446
type hypervisor = {version: string; capabilities: string} [@@deriving rpcty]
445447

446-
type t = {cpu_info: cpu_info; hypervisor: hypervisor} [@@deriving rpcty]
448+
type t =
449+
{ cpu_info: cpu_info
450+
; hypervisor: hypervisor
451+
; chipset_info: chipset_info }
452+
[@@deriving rpcty]
447453

448454
type guest_agent_feature =
449455
{name: string; licensed: bool; parameters: (string * string) list}

0 commit comments

Comments
 (0)