[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci
From: |
Marcin Juszkiewicz |
Subject: |
[PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci |
Date: |
Wed, 24 May 2023 10:39:12 +0200 |
Creation of network card is guarded with check do we
have pci bus. Do the same with graphics card.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
hw/arm/sbsa-ref.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index c540b2f1ba..9a3d77d6b6 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -647,10 +647,10 @@ static void create_pcie(SBSAMachineState *sms)
pci_nic_init_nofail(nd, pci->bus, nd->model, NULL);
}
- }
- if (vga_interface_type != VGA_NONE) {
- pci_create_simple(pci->bus, -1, "bochs-display");
+ if (vga_interface_type != VGA_NONE) {
+ pci_create_simple(pci->bus, -1, "bochs-display");
+ }
}
create_smmu(sms, pci->bus);
--
2.40.1
- [PATCH 2/2] docs: sbsa: document platform version changes, (continued)
- [PATCH 2/2] docs: sbsa: document platform version changes, Marcin Juszkiewicz, 2023/05/23
- Re: [PATCH 1/2] docs: sbsa: correct graphics card name, Thomas Huth, 2023/05/23
- [PATCH v2 1/3] docs: sbsa: correct graphics card name, Marcin Juszkiewicz, 2023/05/23
- [PATCH v2 3/3] hw/arm/Kconfig: sbsa-ref uses Bochs display, Marcin Juszkiewicz, 2023/05/23
- Re: [PATCH v2 3/3] hw/arm/Kconfig: sbsa-ref uses Bochs display, Thomas Huth, 2023/05/23
- [PATCH v2 2/3] docs: sbsa: document platform version changes, Marcin Juszkiewicz, 2023/05/23
- Re: [PATCH v2 1/3] docs: sbsa: correct graphics card name, Thomas Huth, 2023/05/23
- Re: [PATCH 1/2] docs: sbsa: correct graphics card name, Marcin Juszkiewicz, 2023/05/23
- Re: [PATCH 1/2] docs: sbsa: correct graphics card name, Thomas Huth, 2023/05/23
- [PATCH 1/3] hw/arm/sbsa-ref: honor "-vga none" argument, Marcin Juszkiewicz, 2023/05/24
- [PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci,
Marcin Juszkiewicz <=
- Re: [PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci, Thomas Huth, 2023/05/24
- Re: [PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci, Thomas Huth, 2023/05/24
- [PATCH 3/3] hw/arm/sbsa-ref: use MachineClass->default_display, Marcin Juszkiewicz, 2023/05/24
- Re: [PATCH 3/3] hw/arm/sbsa-ref: use MachineClass->default_display, Thomas Huth, 2023/05/24
- Re: [PATCH 3/3] hw/arm/sbsa-ref: use MachineClass->default_display, Thomas Huth, 2023/05/24
- Re: [PATCH 1/3] hw/arm/sbsa-ref: honor "-vga none" argument, Thomas Huth, 2023/05/24
- Re: [PATCH 1/3] hw/arm/sbsa-ref: honor "-vga none" argument, Thomas Huth, 2023/05/24
- [PATCH v2 1/5] hw/arm: Use MachineClass->default_nic in the sbsa-ref machine, Marcin Juszkiewicz, 2023/05/24
- [PATCH v2 5/5] hw/arm/sbsa-ref: use MachineClass->default_display, Marcin Juszkiewicz, 2023/05/24
- [PATCH v2 3/5] hw/arm/sbsa-ref: honor "-vga none" argument, Marcin Juszkiewicz, 2023/05/24