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>
This commit is contained in:
Jim Fehlig
2020-04-09 15:45:05 -06:00
parent a93f55c53d
commit 967f4eebdc
5 changed files with 80 additions and 26 deletions
+2
View File
@@ -294,6 +294,8 @@ mymain(void)
DO_TEST("max-gntframes");
#endif
DO_TEST("max-eventchannels");
DO_TEST("vif-typename");
DO_TEST("vif-multi-ip");
DO_TEST("usb");