qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel@redhat.com>
To: Markus Armbruster <armbru@redhat.com>,
	William Dauchy <william@gandi.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] readconfig with machine section and type option ignored
Date: Tue, 16 Dec 2014 15:41:11 +0200	[thread overview]
Message-ID: <54903677.6000806@redhat.com> (raw)
In-Reply-To: <87tx0vbxuo.fsf@blackfin.pond.sub.org>

On 12/16/2014 02:09 PM, Markus Armbruster wrote:
> William Dauchy <william@gandi.net> writes:
>
>> Hello,
>>
>> I'm trying to specify machine type using the config file; for example:
>>
>> [machine]
>>    type = "pc-i440fx-2.1"
>>
>> It seems to be ignored:
>>
>>   qom-get path=/machine property=type
>> {   u'return': u'pc-i440fx-2.2-machine'}
>>
>> It does work with the command line:
>>    -M "pc-i440fx-2.1"
>>
>>   qom-get path=/machine property=type
>> {   u'return': u'pc-i440fx-2.1-machine'}
>
> Reproduced.
>
>> Is it considered as a bug? I am using qemu-2.2
>
> Yes.  Thanks for reporting it.
>
> Broken since main()'s case QEMU_OPTION_machine doesn't just parse its
> option argument with qemu_opts_parse(), it also implements parameter
> "type".  Copying Marcel because "he touched it, he owns it".
>
I'll have a look at this, sure.
Thanks,
Marcel

      parent reply	other threads:[~2014-12-16 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 16:42 [Qemu-devel] readconfig with machine section and type option ignored William Dauchy
2014-12-16 12:09 ` Markus Armbruster
2014-12-16 12:38   ` William Dauchy
2014-12-16 13:41   ` Marcel Apfelbaum [this message]

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=54903677.6000806@redhat.com \
    --to=marcel@redhat.com \
    --cc=armbru@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=william@gandi.net \
    /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).