public inbox for kvm@vger.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 12:42:14 +0200	[thread overview]
Message-ID: <51E52386.7000005@redhat.com> (raw)
In-Reply-To: <58539BF287296F4CB5EC3FF6E0639E07FB13F5@ILMB2.corp.radware.com>

Il 16/07/2013 12:40, Naor Shlomo ha scritto:
> Hi Paolo,
> 
> For some unknown reason it suddenly started to accept the changes to the XML and the strings you gave me are now in place.

Good.

> Upon machine start I now receive the following error messages:
> 
> virsh # start NaorDev
> error: Failed to start domain NaorDev
> error: internal error Process exited while reading console log output: kvm: -global: requires an argument"
> 

That's because I cut-and-pasted without reading:

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

The right one is (or at this point I'd better say "should be"):

   <qemu:commandline>
     <qemu:arg value='-global'/>
     <qemu:arg value='virtio-net-pci.mrg_rxbuf=off'/>
   </qemu:commandline>

Paolo

> </domain>
> 
> Naor
> 
> -----Original Message-----
> From: Paolo Bonzini [mailto:pbonzini@redhat.com] 
> Sent: Tuesday, July 16, 2013 12:36 PM
> To: Naor Shlomo
> Cc: kvm@vger.kernel.org
> Subject: Re: Disabling mergeable rx buffers for the guest
> 
> Il 16/07/2013 10:06, Naor Shlomo ha scritto:
>> Thanks again Paolo,
>>
>> I used your string and read the documents in the site you referred me to but could not understand why doesn't it accept the xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' string.
>>
>> I tried it on the following version:
>> Compiled against library: libvir 0.9.8 Using library: libvir 0.9.8 
>> Using API: QEMU 0.9.8 Running hypervisor: QEMU 1.0.0
>>
>> So according to the site it should be supported.
>>
>> Any idea what am I missing now?
> 
> Not sure.  Can you post here the full XML, and the one you're trying to use?
> 
> Paolo
> 
>> Naor
>>
>> -----Original Message-----
>> From: Paolo Bonzini [mailto:pbonzini@redhat.com]
>> Sent: Tuesday, July 16, 2013 9:42 AM
>> To: Naor Shlomo
>> Cc: kvm@vger.kernel.org
>> Subject: Re: Disabling mergeable rx buffers for the guest
>>
>> Il 16/07/2013 08:40, Naor Shlomo ha scritto:
>>> 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?
>>
>> My fault.  You need to change the <domain> opening tag to
>>
>> <domain type='qemu' 
>> xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
>>
>> See http://libvirt.org/drvqemu.html#qemucommand for the docs.
>>
>> Paolo
>>
> 


  reply	other threads:[~2013-07-16 10:42 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
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 [this message]
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=51E52386.7000005@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox