qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/loongarch: Remove default enable with VIRTIO_VGA device
@ 2024-08-23  7:30 Bibo Mao
  2024-09-09  2:19 ` gaosong
  0 siblings, 1 reply; 2+ messages in thread
From: Bibo Mao @ 2024-08-23  7:30 UTC (permalink / raw)
  To: Paolo Bonzini, Song Gao; +Cc: Jiaxun Yang, qemu-devel

For virtio VGA deivce libvirt will select VIRTIO_VGA firstly rather than
VIRTIO_GPU, VIRTIO_VGA device supports frame buffer however it requires
legacy VGA compatible support. Frame buffer area 0xa0000 -- 0xc0000
conflicts with low memory area 0 -- 0x10000000.

Here remove default support for VIRTIO_VGA device, VIRTIO_GPU is prefered
on LoongArch system. For frame buffer video card support, standard VGA can
be used.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
---
 hw/loongarch/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
index 0de713a439..9c69170968 100644
--- a/hw/loongarch/Kconfig
+++ b/hw/loongarch/Kconfig
@@ -5,7 +5,6 @@ config LOONGARCH_VIRT
     select DEVICE_TREE
     select PCI
     select PCI_EXPRESS_GENERIC_BRIDGE
-    imply VIRTIO_VGA
     imply PCI_DEVICES
     imply NVDIMM
     imply TPM_TIS_SYSBUS

base-commit: 407f9a4b121eb65166375c410e14d7b704bc1106
-- 
2.39.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hw/loongarch: Remove default enable with VIRTIO_VGA device
  2024-08-23  7:30 [PATCH] hw/loongarch: Remove default enable with VIRTIO_VGA device Bibo Mao
@ 2024-09-09  2:19 ` gaosong
  0 siblings, 0 replies; 2+ messages in thread
From: gaosong @ 2024-09-09  2:19 UTC (permalink / raw)
  To: Bibo Mao, Paolo Bonzini; +Cc: Jiaxun Yang, qemu-devel



在 2024/8/23 下午3:30, Bibo Mao 写道:
> For virtio VGA deivce libvirt will select VIRTIO_VGA firstly rather than
> VIRTIO_GPU, VIRTIO_VGA device supports frame buffer however it requires
> legacy VGA compatible support. Frame buffer area 0xa0000 -- 0xc0000
> conflicts with low memory area 0 -- 0x10000000.
> 
> Here remove default support for VIRTIO_VGA device, VIRTIO_GPU is prefered
> on LoongArch system. For frame buffer video card support, standard VGA can
> be used.
> 
> Signed-off-by: Bibo Mao <maobibo@loongson.cn>
> ---
>   hw/loongarch/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
> 
Reviewed-by: Song Gao <gaosong@loongson.cn>

Thanks
Song Gao
> diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
> index 0de713a439..9c69170968 100644
> --- a/hw/loongarch/Kconfig
> +++ b/hw/loongarch/Kconfig
> @@ -5,7 +5,6 @@ config LOONGARCH_VIRT
>       select DEVICE_TREE
>       select PCI
>       select PCI_EXPRESS_GENERIC_BRIDGE
> -    imply VIRTIO_VGA
>       imply PCI_DEVICES
>       imply NVDIMM
>       imply TPM_TIS_SYSBUS
> 
> base-commit: 407f9a4b121eb65166375c410e14d7b704bc1106
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-09  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  7:30 [PATCH] hw/loongarch: Remove default enable with VIRTIO_VGA device Bibo Mao
2024-09-09  2:19 ` gaosong

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).