Skip to contentSkip to conversation

hw/arm: enable qxl for aarch64

PATCH Superseded Hao Zeng 4 participants 4 messages May 12, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Hao Zeng

author
#0 lore raw

PATCH 1/1 hw/arm: enable qxl for aarch64

Qemu does not support qxl graphics cards in arm, it is recommended to enable

---
 hw/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/Kconfig +1 -1
index 0f42c556d7..0305a4f4f3 100644
@@ -32,7 +32,7 @@ config ARM_VIRT
     select VIRTIO_MEM_SUPPORTED
     select ACPI_CXL
     select ACPI_HMAT
-
+    select QXL
 config CHEETAH
     bool
     default y if TCG && ARM
Signature · 1 line
2.37.2
#1 lore raw
Quoted 3 lines · On Fri, 12 May 2023 17:08:03 +0800 Hao Zeng <[email protected]> wrote:

Qemu does not support qxl graphics cards in arm, it is recommended to enable

Drive by comment.

Quoted 9 lines
---
 hw/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/Kconfig +0 -0
index 0f42c556d7..0305a4f4f3 100644

hw/arm/Kconfig config ARM_VIRT · line 35

Quoted 5 lines
hw/arm/Kconfig +1 -1
@@ -32,7 +32,7 @@ config ARM_VIRT
     select VIRTIO_MEM_SUPPORTED
     select ACPI_CXL
     select ACPI_HMAT
-
+    select QXL

Keep the blank line here.

Quoted 3 lines
hw/arm/Kconfig +0 -0
 config CHEETAH
     bool
     default y if TCG && ARM
#2 lore raw
Quoted 14 lines · Jonathan Cameron
Quoted 3 lines · On Fri, 12 May 2023 17:08:03 +0800 Hao Zeng <[email protected]> wrote:

Qemu does not support qxl graphics cards in arm, it is recommended to enable

Drive by comment.

Quoted 4 lines
---
 hw/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 11 lines

hw/arm/Kconfig config ARM_VIRT · line 35

Quoted 10 lines
hw/arm/Kconfig +1 -1
index 0f42c556d7..0305a4f4f3 100644
@@ -32,7 +32,7 @@ config ARM_VIRT
     select VIRTIO_MEM_SUPPORTED
     select ACPI_CXL
     select ACPI_HMAT
-
+    select QXL

Keep the blank line here.

I don't understand why QXL is special here -- isn't it just another PCI card? We already "imply PCI_DEVICES" so I would have expected that to work.

I notice that the x86 "config PC" has an "imply QXL", though, so presumably it doesn't. Paolo, should this be fixed by making PCI_DEVICES pull in QXL, or by adding an "imply QXL" to the virt board ?

As a third option, the mips "config LOONGSON3V" has "imply QXL if SPICE".

I don't know what the right answer is here, but I suspect it should be the same thing in all three cases, not three different things :-)

thanks
-- PMM

#3 lore raw
Quoted 37 lines · Peter Maydell
Quoted 14 lines · Jonathan Cameron
Quoted 3 lines · On Fri, 12 May 2023 17:08:03 +0800 Hao Zeng <[email protected]> wrote:

Qemu does not support qxl graphics cards in arm, it is recommended to enable

Drive by comment.

Quoted 4 lines
---
  hw/arm/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 11 lines

hw/arm/Kconfig config ARM_VIRT · line 35

Quoted 10 lines
hw/arm/Kconfig +1 -1
index 0f42c556d7..0305a4f4f3 100644
@@ -32,7 +32,7 @@ config ARM_VIRT
      select VIRTIO_MEM_SUPPORTED
      select ACPI_CXL
      select ACPI_HMAT
-
+    select QXL

Keep the blank line here.

I don't understand why QXL is special here -- isn't it just another PCI card? We already "imply PCI_DEVICES" so I would have expected that to work.

I notice that the x86 "config PC" has an "imply QXL", though, so presumably it doesn't. Paolo, should this be fixed by making PCI_DEVICES pull in QXL, or by adding an "imply QXL" to the virt board ?

Quoted 6 lines

As a third option, the mips "config LOONGSON3V" has "imply QXL if SPICE".

I don't know what the right answer is here, but I suspect it should be the same thing in all three cases, not three different things :-)

I'm also confused because we already have in hw/display/Kconfig:

  config QXL
      bool
      depends on SPICE && PCI