mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
13
tests/xlconfigdata/test-max-eventchannels.cfg
Normal file
13
tests/xlconfigdata/test-max-eventchannels.cfg
Normal file
@@ -0,0 +1,13 @@
|
||||
name = "XenGuest1"
|
||||
uuid = "45b60f51-88a9-47a8-a3b3-5e66d71b2283"
|
||||
maxmem = 512
|
||||
memory = 512
|
||||
vcpus = 1
|
||||
localtime = 0
|
||||
on_poweroff = "preserve"
|
||||
on_reboot = "restart"
|
||||
on_crash = "preserve"
|
||||
vif = [ "mac=5a:36:0e:be:00:09" ]
|
||||
bootloader = "/usr/bin/pygrub"
|
||||
max_event_channels = 2047
|
||||
disk = [ "format=qcow2,vdev=xvda,access=rw,backendtype=qdisk,target=/var/lib/xen/images/debian/disk.qcow2" ]
|
||||
Reference in New Issue
Block a user