crosvm/vm_control/src
Pujun Lun 81f42c1a36 crosvm: update CLI syntax for specifying DPI for displays.
The current syntax is:
--gpu-display horizontal-dpi=100,vertical-dpi=200

We would like to change that to:
--gpu-display dpi=[100,200]

We will keep the backward compatibility for now, but the caller
should not use both of syntax at the same time.

FixedGpuDisplayParameters is introduced for backward compatibility
support, and it will be removed once the old syntax is deprecated.

BUG=b:260101753
TEST=presubmit

Change-Id: I66a31c448ecc1eba60f6d1cbcbc753315c6c1df6
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4049340
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Jason Macnak <natsu@google.com>
Commit-Queue: Pujun Lun <lunpujun@google.com>
2022-11-24 17:43:55 +00:00
..
sys crosvm: GPU and display arg parsing for Windows. 2022-10-18 05:17:53 +00:00
client.rs swap: add commands for vmm-swap out 2022-11-17 02:39:55 +00:00
display.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
gdb.rs aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
gpu.rs crosvm: update CLI syntax for specifying DPI for displays. 2022-11-24 17:43:55 +00:00
lib.rs crosvm: cmdline: Add Snapshot command to crosvm 2022-11-22 23:04:56 +00:00
sys.rs crosvm: GPU and display arg parsing for Windows. 2022-10-18 05:17:53 +00:00