qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Wiesinger <lists@wiesinger.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] Parameter parsing broken
Date: Sat, 25 Feb 2012 08:00:53 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1202250753190.22895@bbs.intern> (raw)

Hello,

Finally this commmit is no longer working:
commit 9ebe95fb606a8d6bebe29de3efc9b506c6428c62
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Wed Feb 8 16:02:11 2012 +0100

     nic: zap obsolote romloading bits from ne2k + pcnet

     These days one just needs to specify the romfile in PCiDeviceInfo and
     everything magically works.  It also allows to disable pxe rom loading
     via "romfile=<emptystring>" like it is possible for all other nics.

     [ v2: rebased & adapted to qom changes ]

I bisected it down to an conincidence of the following commit:
acbac4a1dc974a3915760b4551336544c4360241 is the first bad commit
commit acbac4a1dc974a3915760b4551336544c4360241
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Thu Feb 2 13:04:45 2012 +0100

     qdev: remove parse method for string properties

     We need the print method to put double quotes, but parsing is not special.

     Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
     Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

:040000 040000 f4761397afe09e200c9bcd77893d7f452148bf22 
b9ad8f8558e7e549fe89092ac87909f76bb54fc5 M      hw

Unfortunatly revertig the patch doesn't work since a lot of has been 
changed.

Relevant command line:
-device rtl8139,mac=00:02:44:92:87:6a,vlan=0,romfile=
-net tap,ifname=tap0,script=no,downscript=no,vlan=0

Problem I guessis  that empty strings are not allowed anymore in an option 
(romfile=) which is necessary.

So my inital, more complex patch, had its' qualification. :-)

Please fix it ASAP.

Ciao,
Gerhard

--
http://www.wiesinger.com/

                 reply	other threads:[~2012-02-25  7:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.LFD.2.02.1202250753190.22895@bbs.intern \
    --to=lists@wiesinger.com \
    --cc=aliguori@us.ibm.com \
    --cc=kraxel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).