* [PATCH 0/2] build: fix sparc64 host
@ 2026-07-20 22:17 Pierrick Bouvier
2026-07-20 22:17 ` [PATCH 1/2] meson.build: define CONFIG_KVM_HOST Pierrick Bouvier
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Pierrick Bouvier @ 2026-07-20 22:17 UTC (permalink / raw)
To: qemu-devel
Cc: mjt, Daniel P. Berrangé, Pierrick Bouvier, Paolo Bonzini,
Cédric Le Goater, Philippe Mathieu-Daudé,
Alex Williamson, Marc-André Lureau
It was reported that build on sparc64 host is currently broken, due to inclusion
of asm/kvm.h, which is not present on this platform:
https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa-ebe64edacab6@tls.msk.ru/
Problem is that we assumed in Kconfig that VFIO is available for all linux
hosts, which is wrong. It is limited to linux hosts having kvm support.
Since we already have a meson.build section identifying those hosts, just define
a new CONFIG_KVM_HOST in host configuration.
Pierrick Bouvier (2):
meson.build: define CONFIG_KVM_HOST
hw/vfio: restrict to kvm hosts
Kconfig.host | 3 +++
hw/vfio/Kconfig | 8 ++++----
meson.build | 4 ++++
3 files changed, 11 insertions(+), 4 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread* [PATCH 1/2] meson.build: define CONFIG_KVM_HOST 2026-07-20 22:17 [PATCH 0/2] build: fix sparc64 host Pierrick Bouvier @ 2026-07-20 22:17 ` Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 2/2] hw/vfio: restrict to kvm hosts Pierrick Bouvier 2026-07-20 23:10 ` [PATCH 0/2] build: fix sparc64 host Alex Williamson 2 siblings, 0 replies; 11+ messages in thread From: Pierrick Bouvier @ 2026-07-20 22:17 UTC (permalink / raw) To: qemu-devel Cc: mjt, Daniel P. Berrangé, Pierrick Bouvier, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Alex Williamson, Marc-André Lureau True if we are on a host providing kvm acceleration. To the opposite of CONFIG_KVM, it will be enabled for all targets. We used that in next commit to enable hw/vfio on kvm hosts only. Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> --- Kconfig.host | 3 +++ meson.build | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Kconfig.host b/Kconfig.host index 933425c74b4..a7d8baaf723 100644 --- a/Kconfig.host +++ b/Kconfig.host @@ -64,3 +64,6 @@ config HAVE_RUST config MAC_PVG bool + +config KVM_HOST + bool diff --git a/meson.build b/meson.build index 164328ded83..632650e7d09 100644 --- a/meson.build +++ b/meson.build @@ -274,6 +274,7 @@ else host_arch = cpu endif +kvm_host = true if cpu == 'x86_64' kvm_targets = ['i386-softmmu', 'x86_64-softmmu'] elif cpu == 'aarch64' @@ -288,6 +289,7 @@ elif cpu == 'loongarch64' kvm_targets = ['loongarch64-softmmu'] else kvm_targets = [] + kvm_host = false endif accelerator_targets = { 'CONFIG_KVM': kvm_targets } @@ -2255,6 +2257,8 @@ endif config_host_data = configuration_data() +config_host_data.set('CONFIG_KVM_HOST', kvm_host) + config_host_data.set('CONFIG_HAVE_RUST', have_rust) audio_drivers_selected = [] if have_system -- 2.43.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/2] hw/vfio: restrict to kvm hosts 2026-07-20 22:17 [PATCH 0/2] build: fix sparc64 host Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 1/2] meson.build: define CONFIG_KVM_HOST Pierrick Bouvier @ 2026-07-20 22:17 ` Pierrick Bouvier 2026-07-20 23:10 ` [PATCH 0/2] build: fix sparc64 host Alex Williamson 2 siblings, 0 replies; 11+ messages in thread From: Pierrick Bouvier @ 2026-07-20 22:17 UTC (permalink / raw) To: qemu-devel Cc: mjt, Daniel P. Berrangé, Pierrick Bouvier, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Alex Williamson, Marc-André Lureau sparc64, which is one of our linux hosts, does no support kvm, thus vfio. As a result, it fails to build on this platform. Thus, limit hw/vfio inclusion to kvm hosts, which provide vfio support. Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> --- hw/vfio/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig index 27de24e4db1..1329f8a2caa 100644 --- a/hw/vfio/Kconfig +++ b/hw/vfio/Kconfig @@ -2,26 +2,26 @@ config VFIO bool - depends on LINUX + depends on LINUX && KVM_HOST config VFIO_PCI bool default y select VFIO select EDID - depends on LINUX && PCI + depends on LINUX && PCI && KVM_HOST config VFIO_CCW bool default y select VFIO - depends on LINUX && S390_CCW_VIRTIO + depends on LINUX && S390_CCW_VIRTIO && KVM_HOST config VFIO_AP bool default y select VFIO - depends on LINUX && S390_CCW_VIRTIO + depends on LINUX && S390_CCW_VIRTIO && KVM_HOST config VFIO_IGD bool -- 2.43.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-20 22:17 [PATCH 0/2] build: fix sparc64 host Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 1/2] meson.build: define CONFIG_KVM_HOST Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 2/2] hw/vfio: restrict to kvm hosts Pierrick Bouvier @ 2026-07-20 23:10 ` Alex Williamson 2026-07-21 2:48 ` Pierrick Bouvier 2 siblings, 1 reply; 11+ messages in thread From: Alex Williamson @ 2026-07-20 23:10 UTC (permalink / raw) To: Pierrick Bouvier Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Marc-André Lureau, alex On Mon, 20 Jul 2026 22:17:13 +0000 Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: > It was reported that build on sparc64 host is currently broken, due to inclusion > of asm/kvm.h, which is not present on this platform: > https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa-ebe64edacab6@tls.msk.ru/ Isn't is sufficient just to remove the stale <linux/kvm.h> include? I don't know of a case that fails, platforms that support vfio might actually be a sub-set of those that support KVM, but being dependent on a KVM supported host has no technical basis. KVM and VFIO are independent features where neither should have a hard dependency on the other. Thanks, Alex > Problem is that we assumed in Kconfig that VFIO is available for all linux > hosts, which is wrong. It is limited to linux hosts having kvm support. > Since we already have a meson.build section identifying those hosts, just define > a new CONFIG_KVM_HOST in host configuration. > > Pierrick Bouvier (2): > meson.build: define CONFIG_KVM_HOST > hw/vfio: restrict to kvm hosts > > Kconfig.host | 3 +++ > hw/vfio/Kconfig | 8 ++++---- > meson.build | 4 ++++ > 3 files changed, 11 insertions(+), 4 deletions(-) > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-20 23:10 ` [PATCH 0/2] build: fix sparc64 host Alex Williamson @ 2026-07-21 2:48 ` Pierrick Bouvier 2026-07-21 3:33 ` Alex Williamson 0 siblings, 1 reply; 11+ messages in thread From: Pierrick Bouvier @ 2026-07-21 2:48 UTC (permalink / raw) To: Alex Williamson Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Marc-André Lureau On 7/20/2026 4:10 PM, Alex Williamson wrote: > On Mon, 20 Jul 2026 22:17:13 +0000 > Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: > >> It was reported that build on sparc64 host is currently broken, due to inclusion >> of asm/kvm.h, which is not present on this platform: >> https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa-ebe64edacab6@tls.msk.ru/ > > Isn't is sufficient just to remove the stale <linux/kvm.h> include? > > I don't know of a case that fails, platforms that support vfio might > actually be a sub-set of those that support KVM, but being dependent on > a KVM supported host has no technical basis. KVM and VFIO are > independent features where neither should have a hard dependency on the > other. Thanks, > It's related to a recent change that was made to get rid of CONFIG_KVM in the file to deduplicate hw/vfio/listener.c between targets. So it's now unconditionally included, thus the regression. Limit inclusion from the build system is the right way to deal with this, thus CONFIG_VFIO, thus why we need to do something to control through Kconfig. > Alex > >> Problem is that we assumed in Kconfig that VFIO is available for all linux >> hosts, which is wrong. It is limited to linux hosts having kvm support. >> Since we already have a meson.build section identifying those hosts, just define >> a new CONFIG_KVM_HOST in host configuration. >> >> Pierrick Bouvier (2): >> meson.build: define CONFIG_KVM_HOST >> hw/vfio: restrict to kvm hosts >> >> Kconfig.host | 3 +++ >> hw/vfio/Kconfig | 8 ++++---- >> meson.build | 4 ++++ >> 3 files changed, 11 insertions(+), 4 deletions(-) >> > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 2:48 ` Pierrick Bouvier @ 2026-07-21 3:33 ` Alex Williamson 2026-07-21 5:14 ` Cédric Le Goater 2026-07-21 7:42 ` Michael Tokarev 0 siblings, 2 replies; 11+ messages in thread From: Alex Williamson @ 2026-07-21 3:33 UTC (permalink / raw) To: Pierrick Bouvier Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Marc-André Lureau On Mon, Jul 20, 2026, at 8:48 PM, Pierrick Bouvier wrote: > On 7/20/2026 4:10 PM, Alex Williamson wrote: >> On Mon, 20 Jul 2026 22:17:13 +0000 >> Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: >> >>> It was reported that build on sparc64 host is currently broken, due to inclusion >>> of asm/kvm.h, which is not present on this platform: >>> https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa-ebe64edacab6@tls.msk.ru/ >> >> Isn't is sufficient just to remove the stale <linux/kvm.h> include? >> >> I don't know of a case that fails, platforms that support vfio might >> actually be a sub-set of those that support KVM, but being dependent on >> a KVM supported host has no technical basis. KVM and VFIO are >> independent features where neither should have a hard dependency on the >> other. Thanks, >> > > It's related to a recent change that was made to get rid of CONFIG_KVM > in the file to deduplicate hw/vfio/listener.c between targets. So it's > now unconditionally included, thus the regression. I understand. I'm suggesting the fix is simply: diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c index c19600e980a8..008f488a3e7d 100644 --- a/hw/vfio/listener.c +++ b/hw/vfio/listener.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include <sys/ioctl.h> -#include <linux/kvm.h> #include <linux/vfio.h> #include "exec/target_page.h" This builds in both a native amd64 environment and a cross-compiled sparc64 environment. > Limit inclusion from the build system is the right way to deal with > this, thus CONFIG_VFIO, thus why we need to do something to control > through Kconfig. The right way to deal with the regression is to fix the regression, as done above. If you further want to avoid building vfio on sparc64, that's a separate discussion and should have nothing whatsoever to do with whether the host supports KVM. Thanks, Alex >>> Problem is that we assumed in Kconfig that VFIO is available for all linux >>> hosts, which is wrong. It is limited to linux hosts having kvm support. >>> Since we already have a meson.build section identifying those hosts, just define >>> a new CONFIG_KVM_HOST in host configuration. >>> >>> Pierrick Bouvier (2): >>> meson.build: define CONFIG_KVM_HOST >>> hw/vfio: restrict to kvm hosts >>> >>> Kconfig.host | 3 +++ >>> hw/vfio/Kconfig | 8 ++++---- >>> meson.build | 4 ++++ >>> 3 files changed, 11 insertions(+), 4 deletions(-) >>> >> ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 3:33 ` Alex Williamson @ 2026-07-21 5:14 ` Cédric Le Goater 2026-07-21 5:17 ` Pierrick Bouvier 2026-07-21 7:42 ` Michael Tokarev 1 sibling, 1 reply; 11+ messages in thread From: Cédric Le Goater @ 2026-07-21 5:14 UTC (permalink / raw) To: Alex Williamson, Pierrick Bouvier Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Philippe Mathieu-Daudé, Marc-André Lureau On 7/21/26 05:33, Alex Williamson wrote: > On Mon, Jul 20, 2026, at 8:48 PM, Pierrick Bouvier wrote: >> On 7/20/2026 4:10 PM, Alex Williamson wrote: >>> On Mon, 20 Jul 2026 22:17:13 +0000 >>> Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: >>> >>>> It was reported that build on sparc64 host is currently broken, due to inclusion >>>> of asm/kvm.h, which is not present on this platform: >>>> https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa-ebe64edacab6@tls.msk.ru/ >>> >>> Isn't is sufficient just to remove the stale <linux/kvm.h> include? >>> >>> I don't know of a case that fails, platforms that support vfio might >>> actually be a sub-set of those that support KVM, but being dependent on >>> a KVM supported host has no technical basis. KVM and VFIO are >>> independent features where neither should have a hard dependency on the >>> other. Thanks, >>> >> >> It's related to a recent change that was made to get rid of CONFIG_KVM >> in the file to deduplicate hw/vfio/listener.c between targets. So it's >> now unconditionally included, thus the regression. > > I understand. I'm suggesting the fix is simply: > > diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c > index c19600e980a8..008f488a3e7d 100644 > --- a/hw/vfio/listener.c > +++ b/hw/vfio/listener.c > @@ -20,7 +20,6 @@ > > #include "qemu/osdep.h" > #include <sys/ioctl.h> > -#include <linux/kvm.h> > #include <linux/vfio.h> > > #include "exec/target_page.h" > > This builds in both a native amd64 environment and a cross-compiled sparc64 environment. This leaves linux/kvm.h included only in the following VFIO files: hw/vfio/kvm-spapr.c hw/vfio/kvm-helpers.c Looks clean to me. Thanks, C. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 5:14 ` Cédric Le Goater @ 2026-07-21 5:17 ` Pierrick Bouvier 2026-07-21 6:27 ` Cédric Le Goater 0 siblings, 1 reply; 11+ messages in thread From: Pierrick Bouvier @ 2026-07-21 5:17 UTC (permalink / raw) To: Cédric Le Goater, Alex Williamson Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Philippe Mathieu-Daudé, Marc-André Lureau On 7/20/2026 10:14 PM, Cédric Le Goater wrote: > On 7/21/26 05:33, Alex Williamson wrote: >> On Mon, Jul 20, 2026, at 8:48 PM, Pierrick Bouvier wrote: >>> On 7/20/2026 4:10 PM, Alex Williamson wrote: >>>> On Mon, 20 Jul 2026 22:17:13 +0000 >>>> Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: >>>> >>>>> It was reported that build on sparc64 host is currently broken, due >>>>> to inclusion >>>>> of asm/kvm.h, which is not present on this platform: >>>>> https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa- >>>>> ebe64edacab6@tls.msk.ru/ >>>> >>>> Isn't is sufficient just to remove the stale <linux/kvm.h> include? >>>> >>>> I don't know of a case that fails, platforms that support vfio might >>>> actually be a sub-set of those that support KVM, but being dependent on >>>> a KVM supported host has no technical basis. KVM and VFIO are >>>> independent features where neither should have a hard dependency on the >>>> other. Thanks, >>>> >>> >>> It's related to a recent change that was made to get rid of CONFIG_KVM >>> in the file to deduplicate hw/vfio/listener.c between targets. So it's >>> now unconditionally included, thus the regression. >> >> I understand. I'm suggesting the fix is simply: >> >> diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c >> index c19600e980a8..008f488a3e7d 100644 >> --- a/hw/vfio/listener.c >> +++ b/hw/vfio/listener.c >> @@ -20,7 +20,6 @@ >> #include "qemu/osdep.h" >> #include <sys/ioctl.h> >> -#include <linux/kvm.h> >> #include <linux/vfio.h> >> #include "exec/target_page.h" >> >> This builds in both a native amd64 environment and a cross-compiled >> sparc64 environment. > Thanks, I'm ok with this. Do you have instructions (or better, a Dockerfile) for the cross compile sparc64 environment you use? It's the only host we don't have cross compilation environment at the moment. > This leaves linux/kvm.h included only in the following VFIO files: > > hw/vfio/kvm-spapr.c > hw/vfio/kvm-helpers.c > > Looks clean to me. > > Thanks, > > C. > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 5:17 ` Pierrick Bouvier @ 2026-07-21 6:27 ` Cédric Le Goater 0 siblings, 0 replies; 11+ messages in thread From: Cédric Le Goater @ 2026-07-21 6:27 UTC (permalink / raw) To: Pierrick Bouvier, Alex Williamson Cc: qemu-devel, mjt, Daniel P. Berrangé, Paolo Bonzini, Philippe Mathieu-Daudé, Marc-André Lureau On 7/21/26 07:17, Pierrick Bouvier wrote: > On 7/20/2026 10:14 PM, Cédric Le Goater wrote: >> On 7/21/26 05:33, Alex Williamson wrote: >>> On Mon, Jul 20, 2026, at 8:48 PM, Pierrick Bouvier wrote: >>>> On 7/20/2026 4:10 PM, Alex Williamson wrote: >>>>> On Mon, 20 Jul 2026 22:17:13 +0000 >>>>> Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote: >>>>> >>>>>> It was reported that build on sparc64 host is currently broken, due >>>>>> to inclusion >>>>>> of asm/kvm.h, which is not present on this platform: >>>>>> https://lore.kernel.org/qemu-devel/c3a7cd83-7666-40c5-9baa- >>>>>> ebe64edacab6@tls.msk.ru/ >>>>> >>>>> Isn't is sufficient just to remove the stale <linux/kvm.h> include? >>>>> >>>>> I don't know of a case that fails, platforms that support vfio might >>>>> actually be a sub-set of those that support KVM, but being dependent on >>>>> a KVM supported host has no technical basis. KVM and VFIO are >>>>> independent features where neither should have a hard dependency on the >>>>> other. Thanks, >>>>> >>>> >>>> It's related to a recent change that was made to get rid of CONFIG_KVM >>>> in the file to deduplicate hw/vfio/listener.c between targets. So it's >>>> now unconditionally included, thus the regression. >>> >>> I understand. I'm suggesting the fix is simply: >>> >>> diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c >>> index c19600e980a8..008f488a3e7d 100644 >>> --- a/hw/vfio/listener.c >>> +++ b/hw/vfio/listener.c >>> @@ -20,7 +20,6 @@ >>> #include "qemu/osdep.h" >>> #include <sys/ioctl.h> >>> -#include <linux/kvm.h> >>> #include <linux/vfio.h> >>> #include "exec/target_page.h" >>> >>> This builds in both a native amd64 environment and a cross-compiled >>> sparc64 environment. >> > > Thanks, I'm ok with this. > Do you have instructions (or better, a Dockerfile) for the cross compile > sparc64 environment you use? > It's the only host we don't have cross compilation environment at the > moment. > >> This leaves linux/kvm.h included only in the following VFIO files: >> >> hw/vfio/kvm-spapr.c >> hw/vfio/kvm-helpers.c >> >> Looks clean to me. With this fix, QEMU (sparc-softmmu,sparc64-softmmu) builds on a UltraSparc T5 running debian sid with linux 7.1.3.1-sparc64-smp. For the record, make check passes. I will send a patch. Thanks, C. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 3:33 ` Alex Williamson 2026-07-21 5:14 ` Cédric Le Goater @ 2026-07-21 7:42 ` Michael Tokarev 2026-07-21 9:58 ` Michael Tokarev 1 sibling, 1 reply; 11+ messages in thread From: Michael Tokarev @ 2026-07-21 7:42 UTC (permalink / raw) To: Alex Williamson, Pierrick Bouvier Cc: qemu-devel, Daniel P. Berrangé, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Marc-André Lureau On 21.07.2026 06:33, Alex Williamson wrote: > diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c > index c19600e980a8..008f488a3e7d 100644 > --- a/hw/vfio/listener.c > +++ b/hw/vfio/listener.c > @@ -20,7 +20,6 @@ > > #include "qemu/osdep.h" > #include <sys/ioctl.h> > -#include <linux/kvm.h> > #include <linux/vfio.h> > > #include "exec/target_page.h" > > This builds in both a native amd64 environment and a cross-compiled sparc64 environment. Building it on native sparc64 (and on all other targets) on debian right now: https://buildd.debian.org/status/package.php?p=qemu&suite=experimental It's - drum roll - finishing building, so I guess it will be fine, let's see in a few minutes. An unrelated note: we've very frequent failure of test qemu:io-qcow2-161 on ppc64 host: stderr: --- /build/reproducible-path/qemu-11.1.0~rc0+ds/tests/qemu-iotests/161.out +++ /build/reproducible-path/qemu-11.1.0~rc0+ds/b/qemu/scratch/qcow2-file-161/161.out.bad @@ -34,6 +34,8 @@ *** Commit and then change an option on the backing file Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576 +qemu-img: TEST_DIR/t.IMGFMT.base: Failed to get "write" lock +Is another process using the image [TEST_DIR/t.IMGFMT.base]? Formatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT { 'execute': 'qmp_capabilities' } Retrying several times makes it work in the end. So far this happens on ppc64 debian buildds only. Thanks, /mjt ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/2] build: fix sparc64 host 2026-07-21 7:42 ` Michael Tokarev @ 2026-07-21 9:58 ` Michael Tokarev 0 siblings, 0 replies; 11+ messages in thread From: Michael Tokarev @ 2026-07-21 9:58 UTC (permalink / raw) To: Alex Williamson, Pierrick Bouvier Cc: qemu-devel, Daniel P. Berrangé, Paolo Bonzini, Cédric Le Goater, Philippe Mathieu-Daudé, Marc-André Lureau On 7/21/26 10:42, Michael Tokarev wrote: > On 21.07.2026 06:33, Alex Williamson wrote: > >> diff --git a/hw/vfio/listener.c b/hw/vfio/listener.c >> index c19600e980a8..008f488a3e7d 100644 >> --- a/hw/vfio/listener.c >> +++ b/hw/vfio/listener.c >> @@ -20,7 +20,6 @@ >> #include "qemu/osdep.h" >> #include <sys/ioctl.h> >> -#include <linux/kvm.h> >> #include <linux/vfio.h> >> #include "exec/target_page.h" >> >> This builds in both a native amd64 environment and a cross-compiled sparc64 environment. > > Building it on native sparc64 (and on all other targets) on debian right now: > https://buildd.debian.org/status/package.php?p=qemu&suite=experimental > > It's - drum roll - finishing building, so I guess it will be fine, let's > see in a few minutes. With this change, everything is now green on the debian side. Thanks, /mjt ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-07-21 9:59 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-07-20 22:17 [PATCH 0/2] build: fix sparc64 host Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 1/2] meson.build: define CONFIG_KVM_HOST Pierrick Bouvier 2026-07-20 22:17 ` [PATCH 2/2] hw/vfio: restrict to kvm hosts Pierrick Bouvier 2026-07-20 23:10 ` [PATCH 0/2] build: fix sparc64 host Alex Williamson 2026-07-21 2:48 ` Pierrick Bouvier 2026-07-21 3:33 ` Alex Williamson 2026-07-21 5:14 ` Cédric Le Goater 2026-07-21 5:17 ` Pierrick Bouvier 2026-07-21 6:27 ` Cédric Le Goater 2026-07-21 7:42 ` Michael Tokarev 2026-07-21 9:58 ` Michael Tokarev
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.