qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] readconfig with machine section and type option ignored


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] readconfig with machine section and type option ignored
Date: Tue, 16 Dec 2014 15:41:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 12/16/2014 02:09 PM, Markus Armbruster wrote:
William Dauchy <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]