Skip to content

Commit f97b8d4

Browse files
committed
REQ-627 add optional PCI VF address to Vgpu.t
A vGPU in SRIOV mode (non pass-through) has an associated virtual function. This commit adds an address for it. Signed-off-by: Christian Lindig <[email protected]>
1 parent 36296e2 commit f97b8d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xen/xenops_interface.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ module Vgpu = struct
220220
type t =
221221
{ id: id [@default "", ""]
222222
; position: int [@default 0]
223+
; virtual_pci_address: Pci.address option [@default None] (* SRIOV VF *)
223224
; physical_pci_address: Pci.address [@default pci_default]
224225
; implementation: implementation [@default Empty] }
225226
[@@deriving rpcty]

0 commit comments

Comments
 (0)