Skip to content

Commit 30d2279

Browse files
author
Sebastien Boeuf
committed
Fix mmio source
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
1 parent c03034d commit 30d2279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

virtcontainers/device/drivers/block.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ func (device *BlockDevice) Attach(devReceiver api.DeviceReceiver) (err error) {
8585
return err
8686
}
8787
drive.VirtPath = filepath.Join("/dev", driveName)
88+
drive.MmioAddr = drive.VirtPath
8889
}
8990
} else {
9091
scsiAddr, err := utils.GetSCSIAddress(index)

0 commit comments

Comments
 (0)