crosvm/devices/src
Anton Romanov d48d4608d6 vhost: user: Move from getopts to argh.
Motivation: get rid of required options vs help boilerplate
BUG=n/a
TEST=run_tests

I've also done some binary size testing as well:

Baseline:
   text    data     bss     dec     hex filename
5050303  264640    1072 5316015  511daf crosvm

StructOpt:
   text    data     bss     dec     hex filename
5400901  277104    1072 5679077  56a7e5 crosvm

StructOpt, default-features = false
   text    data     bss     dec     hex filename
5418437  275872    1072 5695381  56e795 crosvm

argh
   text    data     bss     dec     hex filename
5024287  262648    1072 5288007  50b047 crosvm

Change-Id: I7ebe09e38d3854c4a0e5c8e3a2aecb123652ce1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3339792
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Anton Romanov <romanton@google.com>
Auto-Submit: Anton Romanov <romanton@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Anton Romanov <romanton@google.com>
2022-01-06 21:16:50 +00:00
..
irqchip Update to the latest pKVM ABI. 2022-01-04 19:35:27 +00:00
pci pci_root: Emulate PCIE base address register in host bridge 2021-12-08 12:30:30 +00:00
platform Uprev to rust 1.55.0 2021-10-19 19:12:52 +00:00
register_space devices/register_space: use Copy rather than Clone 2021-08-25 23:02:28 +00:00
usb devices: usb: use anyhow to provide better errors 2021-12-15 19:34:06 +00:00
utils devices: event_loop: delete hung-up events 2021-12-15 19:34:07 +00:00
virtio vhost: user: Move from getopts to argh. 2022-01-06 21:16:50 +00:00
acpi.rs acpi: expose PCI reset register in ACPI 2021-12-08 06:33:00 +00:00
bat.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
bus.rs devices:pci: Destroy the children devices at specific config write 2021-11-19 22:10:14 +00:00
cmos.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
direct_io.rs crosvm: use BusRange in DirectIoOption. 2021-12-08 00:22:43 +00:00
direct_irq.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
i8042.rs i8042: use address instead of offset for read and write 2021-01-29 18:04:35 +00:00
lib.rs Update to the latest pKVM ABI. 2022-01-04 19:35:27 +00:00
pit.rs devices: convert to ThisError and sort 2021-09-02 21:00:20 +00:00
pl030.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
proxy.rs Revert "Conditionally apply linux-only operations" 2021-12-02 14:15:17 +00:00
serial.rs Update to the latest pKVM ABI. 2022-01-04 19:35:27 +00:00
serial_device.rs Update to the latest pKVM ABI. 2022-01-04 19:35:27 +00:00
vfio.rs devices: vfio: Fix vfio device initialization missing 'group.add_device_num()' 2022-01-04 21:07:39 +00:00