[PULL 00/13] Misc fixes patches

Daniel P. Berrangé posted 13 patches 2 weeks, 6 days ago
Only 12 patches received!
There is a newer version of this series
accel/kvm/kvm-all.c            | 1 +
accel/nitro/nitro-accel.c      | 1 +
accel/xen/xen-all.c            | 1 +
hw/arm/virt.c                  | 1 +
hw/arm/xen-pvh.c               | 1 +
hw/i386/microvm.c              | 1 +
hw/i386/pc_piix.c              | 4 ++--
hw/i386/xen/xen-pvh.c          | 1 +
hw/loongarch/virt.c            | 1 +
hw/nitro/machine.c             | 1 +
hw/ppc/spapr.c                 | 1 +
hw/riscv/virt.c                | 1 +
hw/s390x/s390-virtio-ccw.c     | 1 +
hw/virtio/virtio.c             | 2 +-
hw/xenpv/xen_machine_pv.c      | 2 +-
include/hw/i386/pc.h           | 1 +
io/channel-file.c              | 2 +-
meson.build                    | 8 ++++++++
migration/cpr-exec.c           | 2 +-
qemu-nbd.c                     | 2 +-
system/vl.c                    | 9 +--------
tests/qtest/bios-tables-test.c | 2 +-
tests/unit/test-util-sockets.c | 6 +++---
tests/unit/test-vmstate.c      | 2 +-
ui/dmabuf.c                    | 2 +-
util/cutils.c                  | 6 ++++++
26 files changed, 41 insertions(+), 21 deletions(-)
[PULL 00/13] Misc fixes patches
Posted by Daniel P. Berrangé 2 weeks, 6 days ago
The following changes since commit 56afd82bd4db9688f1c1c9d0e2ea163b8cde3283:

  Merge tag 'qemu-sparc-20261101' of https://github.com/mcayland/qemu into staging (2026-11-01 08:37:48 -0800)

are available in the Git repository at:

  https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request

for you to fetch changes up to f4b560dd12612fa12217f3a621ab54dfb6157040:

  accel/nitro: mark 'nitro' accelerator as secure (2026-11-02 11:08:45 +0000)

----------------------------------------------------------------
* Mark virtualization related machine types as secure
* Mark KVM, Xen and Nitro accelerators as secure
* Use getexecpath on OpenBSD
* Use qemu_dup() over dup()

----------------------------------------------------------------

Brad Smith (1):
  util/cutils: Use getexecpath() on OpenBSD for qemu_init_exec_dir()

Daniel P. Berrangé (11):
  hw/arm: mark 'virt' as a secure machine
  hw/i386: mark 'microvm', 'i440fx', 'q35' as secure machines
  hw/loongarch: mark 'virt' as a secure machine
  hw/ppc: mark 'pseries' as a secure machine
  hw/riscv: mark 'virt' as a secure machine
  hw/s390x: mark 's390x-ccw-virtio' as a secure machine
  hw: mark xenpv, xenpvh, xenfv as secure machines
  hw/nitro: mark 'nitro' machine as secure
  accel/kvm: mark kvm accelerator as secure
  accel/xen: mark xen accelerator as secure
  accel/nitro: mark 'nitro' accelerator as secure

Filip Hejsek (1):
  treewide: use qemu_dup() instead of dup()

 accel/kvm/kvm-all.c            | 1 +
 accel/nitro/nitro-accel.c      | 1 +
 accel/xen/xen-all.c            | 1 +
 hw/arm/virt.c                  | 1 +
 hw/arm/xen-pvh.c               | 1 +
 hw/i386/microvm.c              | 1 +
 hw/i386/pc_piix.c              | 4 ++--
 hw/i386/xen/xen-pvh.c          | 1 +
 hw/loongarch/virt.c            | 1 +
 hw/nitro/machine.c             | 1 +
 hw/ppc/spapr.c                 | 1 +
 hw/riscv/virt.c                | 1 +
 hw/s390x/s390-virtio-ccw.c     | 1 +
 hw/virtio/virtio.c             | 2 +-
 hw/xenpv/xen_machine_pv.c      | 2 +-
 include/hw/i386/pc.h           | 1 +
 io/channel-file.c              | 2 +-
 meson.build                    | 8 ++++++++
 migration/cpr-exec.c           | 2 +-
 qemu-nbd.c                     | 2 +-
 system/vl.c                    | 9 +--------
 tests/qtest/bios-tables-test.c | 2 +-
 tests/unit/test-util-sockets.c | 6 +++---
 tests/unit/test-vmstate.c      | 2 +-
 ui/dmabuf.c                    | 2 +-
 util/cutils.c                  | 6 ++++++
 26 files changed, 41 insertions(+), 21 deletions(-)

-- 
2.56.0


Re: [PULL 00/13] Misc fixes patches
Posted by Richard Henderson 2 weeks, 6 days ago
On 11/2/26 04:26, Daniel P. Berrangé wrote:
> The following changes since commit 56afd82bd4db9688f1c1c9d0e2ea163b8cde3283:
> 
>    Merge tag 'qemu-sparc-20261101' ofhttps://github.com/mcayland/qemu into staging (2026-11-01 08:37:48 -0800)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request
> 
> for you to fetch changes up to f4b560dd12612fa12217f3a621ab54dfb6157040:
> 
>    accel/nitro: mark 'nitro' accelerator as secure (2026-11-02 11:08:45 +0000)
> 
> ----------------------------------------------------------------
> * Mark virtualization related machine types as secure
> * Mark KVM, Xen and Nitro accelerators as secure
> * Use getexecpath on OpenBSD
> * Use qemu_dup() over dup()

Fails build on windows:

https://gitlab.com/qemu-project/qemu/-/jobs/17671461626#L2066

> ../io/channel-file.c:57:17: error: implicit declaration of function 'qemu_dup' [-Wimplicit-function-declaration]
>    57 |     int newfd = qemu_dup(fd);
>       |                 ^~~~~~~~
> ../io/channel-file.c:57:17: error: nested extern declaration of 'qemu_dup' [-Werror=nested-externs]



r~

Re: [PULL 00/13] Misc fixes patches
Posted by Daniel P. Berrangé 2 weeks, 6 days ago
On Mon, Nov 02, 2026 at 08:36:01AM -0800, Richard Henderson wrote:
> On 11/2/26 04:26, Daniel P. Berrangé wrote:
> > The following changes since commit 56afd82bd4db9688f1c1c9d0e2ea163b8cde3283:
> > 
> >    Merge tag 'qemu-sparc-20261101' ofhttps://github.com/mcayland/qemu into staging (2026-11-01 08:37:48 -0800)
> > 
> > are available in the Git repository at:
> > 
> >    https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request
> > 
> > for you to fetch changes up to f4b560dd12612fa12217f3a621ab54dfb6157040:
> > 
> >    accel/nitro: mark 'nitro' accelerator as secure (2026-11-02 11:08:45 +0000)
> > 
> > ----------------------------------------------------------------
> > * Mark virtualization related machine types as secure
> > * Mark KVM, Xen and Nitro accelerators as secure
> > * Use getexecpath on OpenBSD
> > * Use qemu_dup() over dup()
> 
> Fails build on windows:
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/17671461626#L2066
> 
> > ../io/channel-file.c:57:17: error: implicit declaration of function 'qemu_dup' [-Wimplicit-function-declaration]
> >    57 |     int newfd = qemu_dup(fd);
> >       |                 ^~~~~~~~
> > ../io/channel-file.c:57:17: error: nested extern declaration of 'qemu_dup' [-Werror=nested-externs]

I'm dropping that patch for now, since it is not critical for the
release. Sending a v2 PULL.


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|