]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenconfig: Add support for max_event_channels
authorJim Fehlig <jfehlig@suse.com>
Tue, 7 Apr 2020 23:33:26 +0000 (17:33 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 9 Apr 2020 21:45:05 +0000 (15:45 -0600)
commit967f4eebdcfed014fb8ad4569e9a04cdc731e9a6
treef4220191771b298ab492bc5c35eab7f642b54b42
parenta93f55c53d83ec63fe703db38cb519465b1d2445
xenconfig: Add support for max_event_channels

Add support in the domXML<->native config converter for max_event_channels.
The parser and formater functions for max_grant_frames were reworked to
also parse max_event_channels. In doing so the xenbus controller is added
earlier in the config parsing, requiring a small adjustment to one of the
existing tests. Include a new test for the event channel conversion.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libxl/xen_xl.c
tests/xlconfigdata/test-max-eventchannels.cfg [new file with mode: 0644]
tests/xlconfigdata/test-max-eventchannels.xml [new file with mode: 0644]
tests/xlconfigdata/test-usbctrl.xml
tests/xlconfigtest.c