]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: probe for VNC password capability
authorFabian Freyer <fabian.freyer@physik.tu-berlin.de>
Wed, 6 May 2020 13:35:54 +0000 (13:35 +0000)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 22 Sep 2020 13:19:26 +0000 (17:19 +0400)
commite3a520797f85c84ade6c711ce47c2c3ce42f4a9f
treea8811d42bdab4ea63a10ee44764bee0ec198a08c
parent2968e5ff3aa9e48b135ba2bab65b13f32fe6223f
bhyve: probe for VNC password capability

Introduces the BHYVE_CAP_VNC_PASSWORD capability, which is probed by
parsing the error message from the bhyve command. When it is not
supported, bhyve -s 0,fbuf,password= will return an error message.

Signed-off-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/bhyve/bhyve_capabilities.c
src/bhyve/bhyve_capabilities.h