Description of problem: By default, a Linux guest with QXL driver will have up to 4 monitors per device. It would eventually useful to be able to configure this value from libvirt. libvirt domain already has a "heads" setting for video device, which isn't used by qemu. kernel drm/kvm driver has a qxl.num_heads property On RHEL6 / xf86-qxl driver, you can configure: #Option "NumHeads" "4" What is needed is to connect the dots, - (new num_heads field in spice-protocol QXLRom) - qemu num_heads option for qxl device (bump revision etc) - libvirt to pass the num_heads config to qemu - kernel/drm to read rom value - eventually, xf86-qxl to read it too - eventually, ovirt to use num_heads for Linux guests?
*** Bug 1038822 has been marked as a duplicate of this bug. ***
hm, can you open respective bugs on other missing components? oVirt does send the num_heads for single QXL device to libvirt...
(In reply to Michal Skrivanek from comment #2) > hm, can you open respective bugs on other missing components? oVirt does > send the num_heads for single QXL device to libvirt... oh nice, I haven't checked the status of all the components, but mostly libvirt/qxl. I'd prefer to wait until we get a parent ack here in the RFE before opening more bugs (that could just become noise, if we decide to solve this differently).
need follow-up bugs on QEMU, libvirt, spice-server, possibly spice-client
*** Bug 1158634 has been marked as a duplicate of this bug. ***
*** Bug 1158619 has been marked as a duplicate of this bug. ***
still want to consider this "soon"
(In reply to Michal Skrivanek from comment #4) > need follow-up bugs on QEMU, libvirt, spice-server, possibly spice-client Michal, are the bugs already filled OR Do we want to keep this BZ still open ? OR let me know - I can file them.
Mostly done. Actually there are 3 component changed: - spice-server to allow to limit heads from guest to client. This will make client consider no more than the limit; - qemu. Accept a new "max_outputs" (to be consistent with virtio-gpu) parameter and pass to spice-server. Also limit the head count passed from client to guest; - libvirt. To consider XML heads attribute and pass to qemu. Also have to detect if Qemu support the new option. spice-server thread: http://lists.freedesktop.org/archives/spice-devel/2015-June/020293.html qemu thread: http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg03355.html libvirt thread: https://www.redhat.com/archives/libvir-list/2015-June/msg00565.html
Waiting patches to be accepted then I'll start opening bugs for integration in RH products.
Qemu patch was merged yesterday in 2.4.0-rc1.
All patches applied. Only a small problem (function name was wrong) with Qemu.
Qemu applied patch to fix the issue in 2.4.0-rc2. libvirt patch was backed off as it cause a regression due to a bug in libvirt which added heads=1 option in XML file automatically not taking into account that this option was ignored by qemu backend.
postponing to 4.1 due to dependency in platform bugs targeted for 7.3
(In reply to Moran Goldboim from comment #15) > postponing to 4.1 due to dependency in platform bugs targeted for 7.3 Dep bugs were moved to 7.4, moving out of 4.1 scope to future.
We agreed to remove RFEs component from Bugzilla, if you feel the component has been renamed incorrectly please reach out.
This will not be addressed in a reasonable timeframe. Please re-open if it's still important.