Skip to contentSkip to conversation

spapr_pci: Drop cannot_instantiate_with_device_add_yet=false

PATCH Applied Markus Armbruster 3 participants 3 messages Jun 3, 2016 – Jun 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spapr_pci: Drop cannot_instantiate_with_device_add_yet=false

It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".

Cc Alexey Kardashevskiy <[email protected]>
---
 hw/ppc/spapr_pci.c | 1 -
 1 file changed, 1 deletion(-)
hw/ppc/spapr_pci.c +0 -1
index 856aec7..18638dd 100644
@@ -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;
 }
Signature · 1 line
2.5.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Markus Armbruster

It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".

Cc Alexey Kardashevskiy <[email protected]>
Quoted 17 lines
---
 hw/ppc/spapr_pci.c | 1 -
 1 file changed, 1 deletion(-)
hw/ppc/spapr_pci.c +0 -1
index 856aec7..18638dd 100644
@@ -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;
 }
Signature · 1 line
Alexey
Applied
#2 lore raw
Quoted 11 lines · Alexey Kardashevskiy
Quoted 5 lines · Markus Armbruster

It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".

Cc Alexey Kardashevskiy <[email protected]>

Applied to ppc-for-2.7, thanks.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson