qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] adding a parameter in qemu tap option
@ 2014-08-22  8:27 William Dauchy
  2014-08-22 13:22 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: William Dauchy @ 2014-08-22  8:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, stefanha

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Hi,

I'm trying to understand how to add a parameter in tap option.

I currently have a working config for a vm; i.e several interfaces using
multiqueues.
I had a try with:

--- a/qapi-schema.json
+++ b/qapi-schema.json
 -2006,6 +2008,7 @@
 ##
 { 'type': 'NetdevTapOptions',
   'data': {
+    '*foo':        'str',
     '*ifname':     'str',
     '*fd':         'str',
     '*fds':        'str',

i.e just adding a foo parameter; nothing change in my config file (I'm
using -readconfig option and not cmdline)
multiqueue is no longer working in some cases.

I don't get how is it possible. I don't even understand why I don't have
the same behaviour using the cmdline.

Maybe I forgot something obvious.
Does someone has some hints?

Thanks,
-- 
William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] adding a parameter in qemu tap option
  2014-08-22  8:27 [Qemu-devel] adding a parameter in qemu tap option William Dauchy
@ 2014-08-22 13:22 ` Stefan Hajnoczi
  2014-08-22 13:28   ` William Dauchy
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2014-08-22 13:22 UTC (permalink / raw)
  To: William Dauchy; +Cc: pbonzini, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On Fri, Aug 22, 2014 at 10:27:35AM +0200, William Dauchy wrote:
> Hi,
> 
> I'm trying to understand how to add a parameter in tap option.
> 
> I currently have a working config for a vm; i.e several interfaces using
> multiqueues.
> I had a try with:
> 
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
>  -2006,6 +2008,7 @@
>  ##
>  { 'type': 'NetdevTapOptions',
>    'data': {
> +    '*foo':        'str',
>      '*ifname':     'str',
>      '*fd':         'str',
>      '*fds':        'str',
> 
> i.e just adding a foo parameter; nothing change in my config file (I'm
> using -readconfig option and not cmdline)
> multiqueue is no longer working in some cases.
> 
> I don't get how is it possible. I don't even understand why I don't have
> the same behaviour using the cmdline.
> 
> Maybe I forgot something obvious.
> Does someone has some hints?

I don't see any obvious reason from the small diff you have posted.  Are
you sure this is the only change you've made and the environment is
unchanged?

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] adding a parameter in qemu tap option
  2014-08-22 13:22 ` Stefan Hajnoczi
@ 2014-08-22 13:28   ` William Dauchy
  0 siblings, 0 replies; 3+ messages in thread
From: William Dauchy @ 2014-08-22 13:28 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: pbonzini, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Hi Stefan,

Thanks for you answer.

On Aug22 14:22, Stefan Hajnoczi wrote:
> I don't see any obvious reason from the small diff you have posted.  Are
> you sure this is the only change you've made and the environment is
> unchanged?

absolutely. I suspect a bug related to options coming from the config file
because I dont have any issue if I pass the config through command line.

-- 
William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-22 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22  8:27 [Qemu-devel] adding a parameter in qemu tap option William Dauchy
2014-08-22 13:22 ` Stefan Hajnoczi
2014-08-22 13:28   ` William Dauchy

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).