]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add a new xenbus controller option for event channels
authorJim Fehlig <jfehlig@suse.com>
Tue, 7 Apr 2020 22:37:09 +0000 (16:37 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 9 Apr 2020 21:45:05 +0000 (15:45 -0600)
commit8e669b382c3533793356261c6d748df56162a2c6
tree15dbf41756f554ecfee097a48fc7f5b2f1ca1a9d
parent65ff4e6c0f38cd4310e550648f6b76bb0855bc41
conf: Add a new xenbus controller option for event channels

Event channels are like PV interrupts and in conjuction with grant frames
form a data transfer mechanism for PV drivers. They are also used for
inter-processor interrupts. Guests with a large number of vcpus and/or
many PV devices many need to increase the maximum default value of 1023.
For this reason the native Xen config format supports the
'max_event_channels' setting. See xl.cfg(5) man page for more details.

Similar to the existing maxGrantFrames option, add a new xenbus controller
option 'maxEventChannels', allowing to adjust the maximum value via libvirt.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h