aboutsummaryrefslogtreecommitdiff
path: root/pci-arbiter/options.h
Commit message (Collapse)AuthorAgeFilesLines
* pci-arbiter, rumpdisk: Rename options for bootstrap chainSamuel Thibault2021-08-111-2/+2
| | | | | | | | We may end up with an arbitrary series of bootstrap translators, which can know about each other through devices, and thus do not need any particular order except dependencies. The actual bootstrap order can thus be arbitrary (provided it respects dependencies), so better not hardcode it.
* pci-arbiter: Fix --device-master-port option nameSamuel Thibault2021-04-051-1/+1
| | | | | | | for coherency with ext2fs and rumpdisk * pci-arbiter/options.h (options): Rename --dev-master-port option to --device-master-port option.
* pci-arbiter: Introduce machdev into this serverDamien Zammit2021-03-081-0/+8
| | | | | | | | | | | | | | | * pci-arbiter/Makefile Add machdev lib and simplify * pci-arbiter/main.c (pci_device_{open,close,shutdown}): New methods (netfs_server_func): Thread the demuxer loop (pcifs_startup): Custom startup method (main): Use machdev for server and detach worker threads * pci-arbiter/options.{c,h} Add disk-server-task and priv ports * pci-arbiter/startup-ops.c Delete file Message-Id: <20210308130457.693821-4-damien@zamaudio.com>
* pci-arbiter: Add --device command line optionJoan Lledó2020-02-231-0/+2
| | | | | | | | | Shortcut for -d, -b, -s and -f Usage: --device [<domain>:]<bus>:<slot>.<func> E.G. --device 00:05.0 is shortcut for -d 0 -b 0 -s 5 -f 0 * pci-arbiter/options.c: Implement --slot option * pci-arbiter/options.h: Add --slot to options list
* pci-arbiter: Rename command line optionsJoan Lledó2020-02-231-9/+9
| | | | | | | | | | | | | | | | Rename some CLI options in order to add the new -D --device arg. Replace -s by -c for subclasses. Replace -D by -d for domains. Domains are optional from now on, default to 0. Replace -d by -s for devices. The formerly called "devices" are now called "slots", and "device" will refer to a combination of Domain + Bus + Slot + Function Only -G and -U options create new permission scopes. * pci-arbiter/options.c: parse_opts(): Rename options * pci-arbiter/options.h: struct argp_option options[]: Likewise
* PCI ArbiterJoan Lledó2018-10-301-0/+74