Fixes 20200724 patches
The following changes since commit 09e0cd773723219d21655587954da2769f64ba01:
Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20200722-1' into staging (2020-07-23 19:00:42 +0100)
are available in the Git repository at:
git://git.kraxel.org/qemu tags/fixes-20200724-pull-request
for you to fetch changes up to 9b52b17ba5e96cec182537715e87308108b47117:
configure: Allow to build tools without pixman (2020-07-24 17:36:03 +0200)
----------------------------------------------------------------
bugfixes: virtio-input, usb-dwc2, pixman.
----------------------------------------------------------------
Peter Maydell (1):
hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES
Thomas Huth (2):
hw: Only compile the usb-dwc2 controller if it is really needed
configure: Allow to build tools without pixman
configure | 2 +- hw/input/virtio-input-hid.c | 1 - hw/arm/Kconfig | 1 + hw/usb/Kconfig | 1 - 4 files changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.18.4
[PULL 3/3] configure: Allow to build tools without pixman
From: Thomas Huth <[email protected]>
If pixman is not installed, it is currently not possible to run:
.../configure --disable-system --enable-tools
Seems like there was a dependency from one of the required source files to pixman in the past, but since commit 1ac0206b2ae1ffaeec56 ("qemu-timer.c: Trim list of included headers"), this dependency should be gone. Thus allow to compile the tools without pixman now.
Message-id: [email protected]
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -4065,7 +4065,7 @@ fi ########################################## # pixman support probe -if test "$want_tools" = "no" && test "$softmmu" = "no"; then +if test "$softmmu" = "no"; then pixman_cflags= pixman_libs= elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then
Signature · 1 line
2.18.4
Re: [PULL 3/3] configure: Allow to build tools without pixman
Hi,
Quoted 24 lines · Gerd Hoffmann
From: Thomas Huth <[email protected]>
If pixman is not installed, it is currently not possible to run:
.../configure --disable-system --enable-tools
Seems like there was a dependency from one of the required source files to pixman in the past, but since commit
1ac0206b2ae1ffaeec56("qemu-timer.c: Trim list of included headers"), this dependency should be gone. Thus allow to compile the tools without pixman now.Signed-off-by Thomas Huth <[email protected]>Message-id: [email protected]
Signed-off-by Gerd Hoffmann <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
configure fi · line 4071
Quoted 8 lines
configure +1
-1@@ -4065,7 +4065,7 @@ fi ########################################## # pixman support probe -if test "$want_tools" = "no" && test "$softmmu" = "no"; then +if test "$softmmu" = "no"; then pixman_cflags= pixman_libs= elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then
This commit broke my '--disable-system --disable-user --enable-tools' build:
$ make vhost-user-gpu ... LINK vhost-user-gpu /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.o: in function `vg_resource_create_2d': contrib/vhost-user-gpu/vhost-user-gpu.c:322: undefined reference to `pixman_image_create_bits' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.o: in function `vg_resource_destroy': contrib/vhost-user-gpu/vhost-user-gpu.c:381: undefined reference to `pixman_image_unref' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.o: in function `vg_transfer_to_host_2d': contrib/vhost-user-gpu/vhost-user-gpu.c:538: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:540: undefined reference to `pixman_image_get_stride' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:543: undefined reference to `pixman_image_get_width' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:544: undefined reference to `pixman_image_get_data' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:556: undefined reference to `pixman_image_get_stride' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:557: undefined reference to `pixman_image_get_height' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:555: undefined reference to `pixman_image_get_data' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.o: in function `vg_resource_flush': contrib/vhost-user-gpu/vhost-user-gpu.c:693: undefined reference to `pixman_region_init_rect' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:705: undefined reference to `pixman_region_init' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:706: undefined reference to `pixman_region_init_rect' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:709: undefined reference to `pixman_region_intersect' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:711: undefined reference to `pixman_region_extents' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:731: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:731: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:747: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:747: undefined reference to `pixman_image_create_bits' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:753: undefined reference to `pixman_image_composite' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:758: undefined reference to `pixman_image_unref' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:762: undefined reference to `pixman_region_fini' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:763: undefined reference to `pixman_region_fini' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:765: undefined reference to `pixman_region_fini' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.o: in function `update_cursor_data_simple': contrib/vhost-user-gpu/vhost-user-gpu.c:863: undefined reference to `pixman_image_get_width' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:864: undefined reference to `pixman_image_get_height' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:865: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:865: undefined reference to `pixman_image_get_format' /usr/bin/ld: contrib/vhost-user-gpu/vhost-user-gpu.c:868: undefined reference to `pixman_image_get_data' collect2: error: ld returned 1 exit status make: *** [Makefile:730: vhost-user-gpu] Error 1
Thanks,
Phil.
Re: [PULL 3/3] configure: Allow to build tools without pixman
Quoted 38 lines · Philippe Mathieu-Daudé
Hi,
Quoted 24 lines · Gerd Hoffmann
From: Thomas Huth <[email protected]>
If pixman is not installed, it is currently not possible to run:
.../configure --disable-system --enable-tools
Seems like there was a dependency from one of the required source files to pixman in the past, but since commit
1ac0206b2ae1ffaeec56("qemu-timer.c: Trim list of included headers"), this dependency should be gone. Thus allow to compile the tools without pixman now.Signed-off-by Thomas Huth <[email protected]>Message-id: [email protected]
Signed-off-by Gerd Hoffmann <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0configure fi · line 4071
Quoted 8 lines
configure +1
-1@@ -4065,7 +4065,7 @@ fi ########################################## # pixman support probe -if test "$want_tools" = "no" && test "$softmmu" = "no"; then +if test "$softmmu" = "no"; then pixman_cflags= pixman_libs= elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; thenThis commit broke my '--disable-system --disable-user --enable-tools' build:
Quoted 1 line
$ make vhost-user-gpu
Yes, there is already a patch on the list to fix this. Look for:
"configure: Require pixman for vhost-user-gpu". I hope Gerd can pick it up for his next pull request.
Thomas
Re: [PULL 3/3] configure: Allow to build tools without pixman
Quoted 39 lines · Thomas Huth
Quoted 38 lines · Philippe Mathieu-Daudé
Hi,
Quoted 24 lines · Gerd Hoffmann
From: Thomas Huth <[email protected]>
If pixman is not installed, it is currently not possible to run:
.../configure --disable-system --enable-tools
Seems like there was a dependency from one of the required source files to pixman in the past, but since commit
1ac0206b2ae1ffaeec56("qemu-timer.c: Trim list of included headers"), this dependency should be gone. Thus allow to compile the tools without pixman now.Signed-off-by Thomas Huth <[email protected]>Message-id: [email protected]
Signed-off-by Gerd Hoffmann <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0configure fi · line 4071
Quoted 8 lines
configure +1
-1@@ -4065,7 +4065,7 @@ fi ########################################## # pixman support probe -if test "$want_tools" = "no" && test "$softmmu" = "no"; then +if test "$softmmu" = "no"; then pixman_cflags= pixman_libs= elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; thenThis commit broke my '--disable-system --disable-user --enable-tools' build:
Quoted 5 lines
Quoted 1 line
$ make vhost-user-gpuYes, there is already a patch on the list to fix this. Look for:
"configure: Require pixman for vhost-user-gpu". I hope Gerd can pick it up for his next pull request.
Thanks! I'll test it. Too bad it misses the release :(
Quoted 3 lines
Thomas
[PULL 1/3] hw: Only compile the usb-dwc2 controller if it is really needed
In reply to Gerd HoffmannFrom: Thomas Huth <[email protected]>
The USB_DWC2 switch is currently "default y", so it is included in all qemu-system-* builds, even if it is not needed. Even worse, it does a "select USB", so USB devices are now showing up as available on targets that do not support USB at all. This sysbus device should only be included by the boards that need it, i.e. by the Raspi machines.
Message-id: [email protected]
--- hw/arm/Kconfig | 1 + hw/usb/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
hw/arm/Kconfig +1 -0
@@ -315,6 +315,7 @@ config RASPI select FRAMEBUFFER select PL011 # UART select SDHCI + select USB_DWC2 config STM32F205_SOC bool
hw/usb/Kconfig +0 -1
@@ -48,7 +48,6 @@ config USB_MUSB config USB_DWC2 bool - default y select USB config TUSB6010
Signature · 1 line
2.18.4
[PULL 2/3] hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES
In reply to Gerd HoffmannFrom: Peter Maydell <[email protected]>
virtio-input-hid.c undefines CONFIG_CURSES before including ui/console.h. However since commits e2f82e924d057935 and b0766612d16da18 that header does not have behaviour dependent on CONFIG_CURSES. Remove the now-unneeded undef.
Message-id: [email protected]
--- hw/input/virtio-input-hid.c | 1 - 1 file changed, 1 deletion(-)
hw/input/virtio-input-hid.c +0 -1
@@ -12,7 +12,6 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-input.h" -#undef CONFIG_CURSES#include "ui/console.h" #include "standard-headers/linux/input.h"
Signature · 1 line
2.18.4
Peter Maydell
AppliedQuoted 9 lines · Gerd Hoffmann
The following changes since commit
09e0cd773723219d21655587954da2769f64ba01:Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20200722-1' into staging (2020-07-23 19:00:42 +0100)
are available in the Git repository at:
git://git.kraxel.org/qemutags/fixes-20200724-pull-request
Quoted 8 lines
for you to fetch changes up to
9b52b17ba5e96cec182537715e87308108b47117:configure: Allow to build tools without pixman (2020-07-24 17:36:03 +0200)
----------------------------------------------------------------
bugfixes: virtio-input, usb-dwc2, pixman.----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.
-- PMM