qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFT 0/5] usb: Clean up and extend SysBus EHCI


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH RFT 0/5] usb: Clean up and extend SysBus EHCI
Date: Mon, 3 Dec 2012 13:39:50 +0000

On 3 December 2012 13:37, Gerd Hoffmann <address@hidden> wrote:
>> But why both EHCI controller are named "usb-bus.0"? How to distinguish the
>> different usb usb?
>
> That is the default name.  For usb controllers added via -device the bus
> name is derived from the device name, i.e. '-device usb-ehci,id=ehci"
> gives you a bus named "ehci.0".
>
> For builtin devices that doesn't work though as you don't have to add
> them manually.  Guess they should be explicitly named then by zynq_init().

It would probably be nice if the qdev/qom layer explicitly failed
attempts to create a bus with a name matching one we already have;
then this kind of thing would be noticed earlier...

-- PMM



reply via email to

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