Hi libvirt 5.2.0 should support maxGrantFrames setting for xen (changelog). I get ever an error if I use it in the config: <domain type='xen'> <name>satan.chao5.int</name> <uuid>f1f96b1c-fb75-4707-afb7-604d696d29cc</uuid> <memory unit='KiB'>3145728</memory> <currentMemory unit='KiB'>3145728</currentMemory> <vcpu placement='static'>4</vcpu> <bootloader>pygrub</bootloader> <os> <type arch='x86_64' machine='xenpvh'>xenpvh</type> </os> <clock offset='utc' adjustment='reset'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/vg_lilith/lv_satan_root'/> <target dev='xvda' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/vg_lilith/lv_satan_home'/> <target dev='xvdb' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/vg_lilith/lv_satan_swap'/> <target dev='xvdc' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/md10'/> <target dev='xvdd' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/disk/by-uuid/6beff9f2-a88c-4d21-86c6-ff90439b4ca3'/> <target dev='xvde' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/disk/by-uuid/e19e6e23-b35c-4fae-b34a-0e2835bde74d'/> <target dev='xvdf' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/disk/by-uuid/3d50dfab-5ffe-4558-9ab3-36fd504607be'/> <target dev='xvdg' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/disk/by-uuid/c4593072-0161-4bdc-b8b6-317fdd23f8ed'/> <target dev='xvdh' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/disk/by-uuid/372167e4-c1ea-4ce6-813b-9c57dd4e67a6'/> <target dev='xvdi' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/mapper/keys'/> <target dev='xvdz' bus='xen'/> <readonly/> </disk> <controller type='xenbus' index='0' maxGrantFrames='128'/> <interface type='bridge'> <mac address='00:16:3e:05:31:50'/> <source bridge='xenbr5'/> <script path='vif-bridge'/> </interface> <interface type='bridge'> <mac address='00:16:3e:15:31:50'/> <source bridge='xenbr15'/> <script path='vif-bridge'/> </interface> <console type='pty'> <target type='xen' port='0'/> </console> <input type='mouse' bus='xen'/> <input type='keyboard' bus='xen'/> <memballoon model='xen'/> </devices> </domain> What Im doing wrong? -- ------ Greetz
On Fri, Apr 26, 2019 at 11:25:13AM +0200, Christoph wrote:> > Hi > > libvirt 5.2.0 should support maxGrantFrames setting for xen (changelog). > I get ever an error if I use it in the config:Hi> <domain type='xen'> > <name>satan.chao5.int</name> > <uuid>f1f96b1c-fb75-4707-afb7-604d696d29cc</uuid> > <memory unit='KiB'>3145728</memory> > <currentMemory unit='KiB'>3145728</currentMemory> > <vcpu placement='static'>4</vcpu> > <bootloader>pygrub</bootloader> > <os> > <type arch='x86_64' machine='xenpvh'>xenpvh</type> > </os> > <clock offset='utc' adjustment='reset'/> > <on_poweroff>destroy</on_poweroff> > <on_reboot>restart</on_reboot> > <on_crash>restart</on_crash> > <devices> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source dev='/dev/vg_lilith/lv_satan_root'/> > <target dev='xvda' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source dev='/dev/vg_lilith/lv_satan_home'/> > <target dev='xvdb' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source dev='/dev/vg_lilith/lv_satan_swap'/> > <target dev='xvdc' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source dev='/dev/md10'/> > <target dev='xvdd' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source > dev='/dev/disk/by-uuid/6beff9f2-a88c-4d21-86c6-ff90439b4ca3'/> > <target dev='xvde' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source > dev='/dev/disk/by-uuid/e19e6e23-b35c-4fae-b34a-0e2835bde74d'/> > <target dev='xvdf' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source > dev='/dev/disk/by-uuid/3d50dfab-5ffe-4558-9ab3-36fd504607be'/> > <target dev='xvdg' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source > dev='/dev/disk/by-uuid/c4593072-0161-4bdc-b8b6-317fdd23f8ed'/> > <target dev='xvdh' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source > dev='/dev/disk/by-uuid/372167e4-c1ea-4ce6-813b-9c57dd4e67a6'/> > <target dev='xvdi' bus='xen'/> > </disk> > <disk type='block' device='disk'> > <driver name='phy' type='raw'/> > <source dev='/dev/mapper/keys'/> > <target dev='xvdz' bus='xen'/> > <readonly/> > </disk> > <controller type='xenbus' index='0' maxGrantFrames='128'/> > <interface type='bridge'> > <mac address='00:16:3e:05:31:50'/> > <source bridge='xenbr5'/> > <script path='vif-bridge'/> > </interface> > <interface type='bridge'> > <mac address='00:16:3e:15:31:50'/> > <source bridge='xenbr15'/> > <script path='vif-bridge'/> > </interface> > <console type='pty'> > <target type='xen' port='0'/> > </console> > <input type='mouse' bus='xen'/> > <input type='keyboard' bus='xen'/> > <memballoon model='xen'/> > </devices> > </domain> > > > What Im doing wrong?What is the error message that you get? Pavel
error: Failed to create domain from /etc/libvirt/libxl/satan_pvh.xml error: internal error: libxenlight failed to create new domain 'satan.chao5.int' and with an other domU with this config: <domain type='xen'> <name>abaddon.chao5.int</name> <uuid>2ebe8981-b443-4052-a996-22f377c19cc6</uuid> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>4</vcpu> <bootloader>pygrub</bootloader> <os> <type arch='x86_64' machine='xenpvh'>xenpvh</type> </os> <clock offset='utc' adjustment='reset'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/vg_lilith/lv_abaddon_root'/> <target dev='xvda' bus='xen'/> </disk> <disk type='block' device='disk'> <driver name='phy' type='raw'/> <source dev='/dev/vg_lilith/lv_abaddon_swap'/> <target dev='xvdb' bus='xen'/> </disk> <interface type='bridge'> <mac address='00:16:3e:05:31:30'/> <source bridge='xenbr5'/> <script path='vif-bridge'/> </interface> <console type='pty'> <target type='xen' port='0'/> </console> <input type='mouse' bus='xen'/> <input type='keyboard' bus='xen'/> <memballoon model='xen'/> </devices> <controller type='xenbus' index='0' maxGrantFrames='128'/> </domain> I dont get an error but: xen-diag gnttab_query_size 20 domid=20: nr_frames=8, max_nr_frames=32 thats wrong max_nr_frames should be 128 Am 2019-04-26 11:47, schrieb Pavel Hrdina:> On Fri, Apr 26, 2019 at 11:25:13AM +0200, Christoph wrote:> > What is the error message that you get? > > Pavel-- ------ Greetz