qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qdev: relax bus type check in qdev_device_add()


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] qdev: relax bus type check in qdev_device_add()
Date: Thu, 29 Nov 2012 13:56:21 +0000

On 29 November 2012 13:49, Anthony Liguori <address@hidden> wrote:
> We are currently checking for an exact type match.  Use QOM dynamic_cast to
> check for a compatible type instead.

I think this only catches the case where a bus was explicitly
specified via bus=. For the default case you also need to change
the similar code for checking the bus type in qbus_find_recursive(),
right?

-- PMM



reply via email to

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