[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] spapr_pci: Drop cannot_instantiate_with_device_
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-devel] [PATCH] spapr_pci: Drop cannot_instantiate_with_device_add_yet=false |
Date: |
Fri, 3 Jun 2016 23:28:08 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 03/06/16 23:04, Markus Armbruster wrote:
> It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
> enable adding PHB via -device".
>
> Cc: Alexey Kardashevskiy <address@hidden>
> Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Alexey Kardashevskiy <address@hidden>
> ---
> hw/ppc/spapr_pci.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
> index 856aec7..18638dd 100644
> --- a/hw/ppc/spapr_pci.c
> +++ b/hw/ppc/spapr_pci.c
> @@ -1624,7 +1624,6 @@ static void spapr_phb_class_init(ObjectClass *klass,
> void *data)
> dc->reset = spapr_phb_reset;
> dc->vmsd = &vmstate_spapr_pci;
> set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> - dc->cannot_instantiate_with_device_add_yet = false;
> hp->plug = spapr_phb_hot_plug_child;
> hp->unplug = spapr_phb_hot_unplug_child;
> }
>
--
Alexey