From: Pradeep Kiruvale <pradeepkiruvale@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
"qemu-discuss@nongnu.org" <qemu-discuss@nongnu.org>
Subject: Re: [Qemu-devel] Virtio-net cli parameters
Date: Thu, 29 Sep 2016 16:11:27 +0200 [thread overview]
Message-ID: <CAJ2SuLmpV76F1c_uaWPTCrrLFRTfuNs29A75jPTN37CCwmPH+g@mail.gmail.com> (raw)
In-Reply-To: <20160928082911.GB4196@stefanha-x1.localdomain>
Hi Stefan,
On 28 September 2016 at 10:29, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> On Mon, Sep 26, 2016 at 05:41:55PM +0200, Pradeep Kiruvale wrote:
> > I want to add couple of new cli options for the virtio-net driver and use
> > them inside the
> > virtio-net driver to throttle the packets. I did go through the code and
> > did single stepping
> > using the gdb, but still could not find the place where the virtio-net
> > parameters are getting
> > parsed and populated into the virtio-net structures.
> > Could some one please guide/suggest where to look into, in qemu code
> base?
>
> Take a look at virtio_net_properties[] in hw/net/virtio-net.c.
>
These variables/properties are static variables. What I am looking about is
how can I pass a cli option from qemu into virtio-net driver.
I am looking at these options because I would like to implement the
throttling to
virtio-net using the throttle APIs that are available in side the qemu.
Regards,
Pradeep
next prev parent reply other threads:[~2016-09-29 14:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 15:41 [Qemu-devel] Virtio-net cli parameters Pradeep Kiruvale
2016-09-28 8:29 ` Stefan Hajnoczi
2016-09-29 8:13 ` Pradeep Kiruvale
2016-09-29 14:11 ` Pradeep Kiruvale [this message]
2016-09-30 13:49 ` Stefan Hajnoczi
2016-10-10 9:26 ` Pradeep Kiruvale
2016-10-10 13:00 ` Pradeep Kiruvale
2016-10-14 13:26 ` Stefan Hajnoczi
2016-10-14 13:33 ` Pradeep Kiruvale
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=CAJ2SuLmpV76F1c_uaWPTCrrLFRTfuNs29A75jPTN37CCwmPH+g@mail.gmail.com \
--to=pradeepkiruvale@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.org \
--cc=stefanha@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).