All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Naor Shlomo <NaorS@Radware.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Disabling mergeable rx buffers for the guest
Date: Tue, 16 Jul 2013 08:11:38 +0200	[thread overview]
Message-ID: <51E4E41A.80905@redhat.com> (raw)
In-Reply-To: <58539BF287296F4CB5EC3FF6E0639E07FB101C@ILMB2.corp.radware.com>

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

  reply	other threads:[~2013-07-16  6:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16  5:09 Disabling mergeable rx buffers for the guest Naor Shlomo
2013-07-16  6:11 ` Paolo Bonzini [this message]
2013-07-16  6:40   ` Naor Shlomo
2013-07-16  6:41     ` Paolo Bonzini
2013-07-16  8:06       ` Naor Shlomo
2013-07-16  9:35         ` Paolo Bonzini
2013-07-16 10:40           ` Naor Shlomo
2013-07-16 10:42             ` Paolo Bonzini
2013-07-16 11:05               ` Naor Shlomo
2013-07-16 12:21                 ` Naor Shlomo
2013-07-16 10:42             ` Daniel P. Berrange
2013-07-16 11:06               ` Naor Shlomo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E4E41A.80905@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=NaorS@Radware.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.