Re: [Qemu-devel] Re: [RFC PATCH 0/5] Introduce canonical device hierarchy string

Markus Armbruster
2010-06-16T08:36:18Z

Markus Armbruster <armbru@redhat.com> writes:

> Alex Williamson <alex.williamson@redhat.com> writes:
>
>> On Tue, 2010-06-15 at 10:53 +0200, Markus Armbruster wrote:
>>> Alex Williamson <alex.williamson@redhat.com> writes:
[...]
>>> > virtio-serial doesn't seem to make a DeviceState per port, so I think it
>>> > can be skipped.
>>>
>>> Really?
>>>
>>> Anyway, its port number should do as bus address.
>>
>> Maybe I'm not specifying it correctly. I see a max_nr_ports property,
>> but I don't see that each port is a separate qdev.
>
> I see property "nr" in virtconsole_info and virtserialport_info. I
> can't see any other virtio-serial devices.

Same issue as with ide-drive's unit: should be a bus property. …