in options.go [188:202]
func (opts *options) getBlockDevices() ([]models.Drive, error) {
blockDevices, err := parseBlockDevices(opts.FcAdditionalDrives)
if err != nil {
return nil, err
}
rootDrive := models.Drive{
DriveID: firecracker.String("1"),
PathOnHost: &opts.FcRootDrivePath,
IsRootDevice: firecracker.Bool(true),
IsReadOnly: firecracker.Bool(false),
Partuuid: opts.FcRootPartUUID,
}
blockDevices = append(blockDevices, rootDrive)
return blockDevices, nil
}