Skip to content

Commit

Permalink
fix(frontned): use zero port/vf for virtio-blk
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun authored and glimchb committed Oct 9, 2023
1 parent e3a7807 commit 68fc531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ func executeVirtioBlk(ctx context.Context, c4 pb.FrontendVirtioBlkServiceClient)
VolumeNameRef: "Malloc1",
PcieId: &pb.PciEndpoint{
PhysicalFunction: wrapperspb.Int32(1),
VirtualFunction: wrapperspb.Int32(2),
PortId: wrapperspb.Int32(3)},
VirtualFunction: wrapperspb.Int32(0),
PortId: wrapperspb.Int32(0)},
}})
if err != nil {
return err
Expand Down

0 comments on commit 68fc531

Please sign in to comment.