[libvirt] number of graphic device in vm xml is limited to only 1
Daniel P. Berrangé
berrange at redhat.com
Mon Oct 29 12:48:54 UTC 2018
On Thu, Oct 25, 2018 at 10:11:34AM +0000, Huangyong wrote:
> Hello,
>
> In qemu_command, vnc graphic device can’t be more than 1, as the following code show in qemuBuildCommandLineValidate():
> If(sdl > 1 || vnc > 1 || spice > 1) {
> virReportError(….);
> return -1;
> }
> This check originally introduced by commit: 6fe9025eb.
> Qemu: Error on unsupported graphics config
>
> qemu can support multi-vnc-configuration in qemu process, but libvirt limit vnc graphics in only 1.
> Is there any considerations in libvirt? can remove this restriction?
Yes, this restriction dates from the time QEMU was restricted to
1 display backend. We could certainly remove this restriction now.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list