RE: Disabling mergeable rx buffers for the guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paolo and thanks for your quick reply,

I tried editing (virsh edit) the domain's XML and put the XML excerpt you gave me everywhere but with no success.
The moment I exit the edit mode the text was gone (I guess it didn't pass some sort of sanity and that's why it was automatically erased).

What am I doing wrong?

Naor

-----Original Message-----
From: Paolo Bonzini [mailto:paolo.bonzini@xxxxxxxxx] On Behalf Of Paolo Bonzini
Sent: Tuesday, July 16, 2013 9:12 AM
To: Naor Shlomo
Cc: kvm@xxxxxxxxxxxxxxx
Subject: Re: Disabling mergeable rx buffers for the guest

Il 16/07/2013 07:09, Naor Shlomo ha scritto:
> Hi,
> 
> I am trying to disable the mergeable rx buffers for a Linux guest but I am currently unable to do so.
> 
> I tried looking in the code of libvirt in order to find the "-global virtio-net-pci.mrg_rxbuf=off" but the only globals configured are:
> PIIX4_PM.disable_s*, isa-fdc.drive, isa-fdc.bootindex, ram_size and vram_size
> 
> Is there a way to configure the XML configuration for the domain and disable the mergeable buffers? 
> If not, is there a way to somehow do it from the guest? (I don't want to mess with the host)

You can use something like this:

  <qemu:commandline>
    <qemu:arg value='-global'/>
    <qemu:env name='mrg_rxbuf' value='off'/>
  </qemu:commandline>

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux