You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: volumes.go
    path of file: ./repos/podman/pkg/machine/vmconfigs
    
    the code of the file until where you have to start completion: package vmconfigs

import (
	"fmt"
	"strings"
)

type VolumeMountType int

const (
	NineP VolumeMountType = iota
	VirtIOFS
	Unknown
)

func (v VolumeMountType) String() string {
	switch v {
	case NineP:
		return "9p"
	case VirtIOFS:
		return "virtiofs"
	default:
		return "unknown"
	}
}

func extractSourceP
    
func extractMountOptions(paths []string) (bool, string) {
	readonly := false
	securityModel := "none"
	if len(paths) > 2 {
		options := paths[2]
		volopts := strings.Split(options, ",")
		for _, o := range volopts {
			switch {
			case o == "rw":
				readonly = false
			case o == "ro":
				readonly = true
			case strings.HasPrefix(o, "security_model="):
				securityModel = strings.Split(o, "=")[1]
			default:
				fmt.Printf("Unknown option: %s\n", o)
			}
		}
	}
	return readonly, securityModel
}