* [PATCH] hw/arm: enable qxl for aarch64
@ 2023-05-12 9:08 Hao Zeng
2023-05-12 9:11 ` Jonathan Cameron via
0 siblings, 1 reply; 4+ messages in thread
From: Hao Zeng @ 2023-05-12 9:08 UTC (permalink / raw)
To: pbonzini; +Cc: peter.maydell, qemu-arm, qemu-devel, Hao Zeng
Qemu does not support qxl graphics cards in arm, it is recommended to enable
Signed-off-by: Hao Zeng <zenghao@kylinos.cn>
---
hw/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 0f42c556d7..0305a4f4f3 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -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
--
2.37.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] hw/arm: enable qxl for aarch64
2023-05-12 9:08 [PATCH] hw/arm: enable qxl for aarch64 Hao Zeng
@ 2023-05-12 9:11 ` Jonathan Cameron via
2023-05-12 9:56 ` Peter Maydell
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron via @ 2023-05-12 9:11 UTC (permalink / raw)
To: Hao Zeng; +Cc: pbonzini, peter.maydell, qemu-arm, qemu-devel
On Fri, 12 May 2023 17:08:03 +0800
Hao Zeng <zenghao@kylinos.cn> wrote:
> Qemu does not support qxl graphics cards in arm, it is recommended to enable
>
> Signed-off-by: Hao Zeng <zenghao@kylinos.cn>
Drive by comment.
> ---
> hw/arm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 0f42c556d7..0305a4f4f3 100644
> --- a/hw/arm/Kconfig
> +++ b/hw/arm/Kconfig
> @@ -32,7 +32,7 @@ config ARM_VIRT
> select VIRTIO_MEM_SUPPORTED
> select ACPI_CXL
> select ACPI_HMAT
> -
> + select QXL
Keep the blank line here.
> config CHEETAH
> bool
> default y if TCG && ARM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hw/arm: enable qxl for aarch64
2023-05-12 9:11 ` Jonathan Cameron via
@ 2023-05-12 9:56 ` Peter Maydell
2023-05-12 10:22 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2023-05-12 9:56 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: Hao Zeng, pbonzini, qemu-arm, qemu-devel
On Fri, 12 May 2023 at 10:11, Jonathan Cameron
<Jonathan.Cameron@huawei.com> wrote:
>
> On Fri, 12 May 2023 17:08:03 +0800
> Hao Zeng <zenghao@kylinos.cn> wrote:
>
> > Qemu does not support qxl graphics cards in arm, it is recommended to enable
> >
> > Signed-off-by: Hao Zeng <zenghao@kylinos.cn>
>
> Drive by comment.
>
> > ---
> > hw/arm/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> > index 0f42c556d7..0305a4f4f3 100644
> > --- a/hw/arm/Kconfig
> > +++ b/hw/arm/Kconfig
> > @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hw/arm: enable qxl for aarch64
2023-05-12 9:56 ` Peter Maydell
@ 2023-05-12 10:22 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-05-12 10:22 UTC (permalink / raw)
To: Peter Maydell, Jonathan Cameron; +Cc: Hao Zeng, pbonzini, qemu-arm, qemu-devel
On 12/5/23 11:56, Peter Maydell wrote:
> On Fri, 12 May 2023 at 10:11, Jonathan Cameron
> <Jonathan.Cameron@huawei.com> wrote:
>>
>> On Fri, 12 May 2023 17:08:03 +0800
>> Hao Zeng <zenghao@kylinos.cn> wrote:
>>
>>> Qemu does not support qxl graphics cards in arm, it is recommended to enable
>>>
>>> Signed-off-by: Hao Zeng <zenghao@kylinos.cn>
>>
>> Drive by comment.
>>
>>> ---
>>> hw/arm/Kconfig | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
>>> index 0f42c556d7..0305a4f4f3 100644
>>> --- a/hw/arm/Kconfig
>>> +++ b/hw/arm/Kconfig
>>> @@ -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 :-)
I'm also confused because we already have in hw/display/Kconfig:
config QXL
bool
depends on SPICE && PCI
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-12 10:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12 9:08 [PATCH] hw/arm: enable qxl for aarch64 Hao Zeng
2023-05-12 9:11 ` Jonathan Cameron via
2023-05-12 9:56 ` Peter Maydell
2023-05-12 10:22 ` Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).