Skip to contentSkip to conversation

-global option parsing

Qemu-devel Michael S. Tsirkin 2 participants 2 messages Oct 5, 2010

lore
Share & tools
lore
#1 lore raw
In reply to Michael S. Tsirkin
Quoted 4 lines · Michael S. Tsirkin

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

Quoted 1 line

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

#0 lore raw

-global virtio_net_pci.hahah=0

seems to be run, with an invalid option being
silently ignored. Is this intentional?
I think failing with an error would be better ...

Signature · 1 line
MST