mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
conf: add input device type for parallels containers
Add VIR_DOMAIN_INPUT_BUS_PARALLELS device type to handle domain configuration properly for parallels containers, when VNC is enabled. When domain configuration has at least one 'graphics', there should be mouse and keyboard. Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
parent
756f8dcd40
commit
6cc2cdf62f
@ -511,7 +511,8 @@ VIR_ENUM_IMPL(virDomainInput, VIR_DOMAIN_INPUT_TYPE_LAST,
|
||||
VIR_ENUM_IMPL(virDomainInputBus, VIR_DOMAIN_INPUT_BUS_LAST,
|
||||
"ps2",
|
||||
"usb",
|
||||
"xen")
|
||||
"xen",
|
||||
"parallels")
|
||||
|
||||
VIR_ENUM_IMPL(virDomainGraphics, VIR_DOMAIN_GRAPHICS_TYPE_LAST,
|
||||
"sdl",
|
||||
|
@ -1252,6 +1252,7 @@ typedef enum {
|
||||
VIR_DOMAIN_INPUT_BUS_PS2,
|
||||
VIR_DOMAIN_INPUT_BUS_USB,
|
||||
VIR_DOMAIN_INPUT_BUS_XEN,
|
||||
VIR_DOMAIN_INPUT_BUS_PARALLELS, /* pseudo device for VNC in containers */
|
||||
|
||||
VIR_DOMAIN_INPUT_BUS_LAST
|
||||
} virDomainInputBus;
|
||||
|
Loading…
Reference in New Issue
Block a user