Cuttlefish: Display hotplug

Cuttlefish virtual devices can handle display hotplugs, which allow devices to connect and disconnect displays at runtime, by using the cvd_display command-line interface.


To add displays, run:

cvd display add \
--display=width=WIDTH-0,height=HEIGHT-0 \


To list the current displays and their display IDs, run:

cvd display list


To remove displays, run:

cvd display remove \
--display=FIRST-DISPLAY-ID \

The display IDs can be found using the cvd display list command.