diff --git a/lib/params/params.go b/lib/params/params.go index bbafbc9..ce53477 100644 --- a/lib/params/params.go +++ b/lib/params/params.go @@ -63,6 +63,11 @@ func NewParams() *Params { Help: "List all Network controllers. (use -i # to only display results from specified IOMMU group)", }) + sata := parser.Flag("s", "sata", &argparse.Options{ + Required: false, + Help: "List all SATA controllers. (use -i # to only display results from specified IOMMU group)", + }) + iommu_group := parser.IntList("i", "group", &argparse.Options{ Required: false, Help: "List everything in the IOMMU groups given. Supply argument multiple times to list additional groups.", @@ -133,6 +138,7 @@ func NewParams() *Params { pArg.addFlag("gpu", *gpu) pArg.addFlag("usb", *usb) pArg.addFlag("nic", *nic) + pArg.addFlag("sata", *sata) pArg.addFlagCounter("related", *related) pArg.addStringList("ignore", *ignore) pArg.addIntList("iommu_group", *iommu_group)