qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: -global option parsing


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: -global option parsing
Date: Tue, 05 Oct 2010 13:18:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

On 10/05/10 12:59, Michael S. Tsirkin wrote:
        -global virtio_net_pci.hahah=0

seems to be run, with an invalid option being
silently ignored. Is this intentional?

It is a invalid driver which is ignored ...

Invalid options *are* catched (try "virtio-net-pci.foo=42").

I think failing with an error would be better ...

Indeed. I think this needs a separate verification pass; IIRC the list of drivers (and busses, remember PCI.prop=something works too) doesn't exist yet at command line option parsing time.

cheers,
  Gerd




reply via email to

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