|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-ppc] [PATCH v2 04/17] pc: route all memory devices through the machine hotplug handler |
| Date: | Sat, 12 May 2018 16:47:34 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 11/05/2018 15:19, David Hildenbrand wrote:
> + if (dev->parent_bus) {
> + if (object_dynamic_cast(OBJECT(dev), TYPE_MEMORY_DEVICE)) {
> + return HOTPLUG_HANDLER(machine);
> + }
> + }
> +
How do you get here with a MemoryDevice that has !dev->parent_bus?
Thanks,
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |