Gerd Hoffmann writes:
>> pci_add nic -net use either the ID or option "name" of qemu_net_opts.
>> And there's our hole. Reproducible with "-net user -net nic,id=foo
>> -device lsi,id=foo".
>
> Oh. Well. Yes, better plug that.
>
>> @@ -242,6 +243,10 @@ DeviceState *qdev_device_add(QemuOpts *opt
pci_add nic -net use either the ID or option "name" of qemu_net_opts.
And there's our hole. Reproducible with "-net user -net nic,id=foo
-device lsi,id=foo".
Oh. Well. Yes, better plug that.
@@ -242,6 +243,10 @@ DeviceState *qdev_device_add(QemuOpts *opts)
qdev = qdev_create_from_info
[cc: kraxel]
Avi Kivity writes:
> On 05/29/2010 11:01 AM, Markus Armbruster wrote:
>> Jan Kiszka writes:
>>
>>
>>> From: Jan Kiszka
>>>
>>> As the user may specify ambiguous device IDs, let's search for their
>>> official names first before considering the user-supplied identifiers.
>>>
>>>
On 05/29/2010 11:01 AM, Markus Armbruster wrote:
Jan Kiszka writes:
From: Jan Kiszka
As the user may specify ambiguous device IDs, let's search for their
official names first before considering the user-supplied identifiers.
Signed-off-by: Jan Kiszka
The problem is letting the use
Jan Kiszka writes:
> From: Jan Kiszka
>
> As the user may specify ambiguous device IDs, let's search for their
> official names first before considering the user-supplied identifiers.
>
> Signed-off-by: Jan Kiszka
The problem is letting the user specify ambiguous device IDs in the
first place!
From: Jan Kiszka
As the user may specify ambiguous device IDs, let's search for their
official names first before considering the user-supplied identifiers.
Signed-off-by: Jan Kiszka
---
docs/qdev-device-use.txt |4 +++-
hw/qdev.c| 18 +-
2 files changed,