Hi Michal,Mine isiplab@iceman:~$ libvirtd --versionlibvirtd (libvirt) 1.3.1I think this can be the issue. I will update and try againBest Regards,
Ashish KurianOn Thu, Oct 26, 2017 at 10:46 AM, Michal Privoznik <mprivozn@redhat.com> wrote:On 10/26/2017 10:38 AM, Ashish Kurian wrote:
> Hi Yalan and Michal,
>
> Thank you for your response. So what I understand is that I can change
> rx_queue size even if I use direct type interface and qemu driver as long
> as the driver is virtio. Am I right?
Yes.
> If that is the case why am I getting
> the error saying that
>
> error: XML document failed to validate against schema: Unable to validate
> doc against /usr/share/libvirt/schemas/domain.rng What's your libvirt version? For rx_queue_size you need 2.3.0 or newer.
> Extra element devices in interleave
> Element domain failed to validate content
For tx_queue_size you need 3.7.0 or newer (not that there's one yet).
>
> for the following xml config? Btw I changed vepa to bridged mode hoping it
> would help me. Also note that I tried the following without any driver name
> and it still failed.
>
>
> <interface type='direct'>
> <mac address='52:54:00:72:f9:eb'/>
> <source dev='enp7s0f0' mode='bridge'/>
> <model type='virtio'/>
> <driver name='qemu' queues='5' rx_queue_size='512'>
> <host csum='off' gso='off' tso4='off' tso6='off' ecn='off'
> ufo='off' mrg_rxbuf='off'/>
> <guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/>
> </driver>
>
This works for me. I'm running recent git.
Michal