[PATCH 0/2] sysemu: Let VMChangeStateHandler take boolean 'running' argument

Philippe Mathieu-Daudé posted 2 patches 5 days, 8 hours ago
Failed in applying to current master (apply log)
include/sysemu/runstate.h   | 12 +++++++++---
target/arm/kvm_arm.h        |  2 +-
target/ppc/cpu-qom.h        |  2 +-
accel/xen/xen-all.c         |  2 +-
audio/audio.c               |  2 +-
block/block-backend.c       |  2 +-
gdbstub.c                   |  2 +-
hw/block/pflash_cfi01.c     |  2 +-
hw/block/virtio-blk.c       |  2 +-
hw/display/qxl.c            |  2 +-
hw/i386/kvm/clock.c         |  2 +-
hw/i386/kvm/i8254.c         |  2 +-
hw/i386/kvmvapic.c          |  2 +-
hw/i386/xen/xen-hvm.c       |  2 +-
hw/ide/core.c               |  2 +-
hw/intc/arm_gicv3_its_kvm.c |  2 +-
hw/intc/arm_gicv3_kvm.c     |  2 +-
hw/intc/spapr_xive_kvm.c    |  2 +-
hw/misc/mac_via.c           |  2 +-
hw/net/e1000e_core.c        |  2 +-
hw/nvram/spapr_nvram.c      |  2 +-
hw/ppc/ppc.c                |  2 +-
hw/ppc/ppc_booke.c          |  2 +-
hw/s390x/tod-kvm.c          |  2 +-
hw/scsi/scsi-bus.c          |  2 +-
hw/usb/hcd-ehci.c           |  2 +-
hw/usb/host-libusb.c        |  2 +-
hw/usb/redirect.c           |  2 +-
hw/vfio/migration.c         |  2 +-
hw/virtio/virtio-rng.c      |  2 +-
hw/virtio/virtio.c          |  2 +-
net/net.c                   |  2 +-
softmmu/memory.c            |  2 +-
softmmu/runstate.c          |  4 ++--
target/arm/kvm.c            |  2 +-
target/i386/kvm/kvm.c       |  2 +-
target/i386/sev.c           |  2 +-
target/i386/whpx/whpx-all.c |  2 +-
target/mips/kvm.c           |  4 ++--
ui/gtk.c                    |  2 +-
ui/spice-core.c             |  2 +-
41 files changed, 51 insertions(+), 45 deletions(-)

[PATCH 0/2] sysemu: Let VMChangeStateHandler take boolean 'running' argument

Posted by Philippe Mathieu-Daudé 5 days, 8 hours ago
Trivial prototype change to clarify the use of the 'running'
argument of VMChangeStateHandler.

Green CI:
https://gitlab.com/philmd/qemu/-/pipelines/239497352

Philippe Mathieu-Daudé (2):
  sysemu/runstate: Let runstate_is_running() return bool
  sysemu: Let VMChangeStateHandler take boolean 'running' argument

 include/sysemu/runstate.h   | 12 +++++++++---
 target/arm/kvm_arm.h        |  2 +-
 target/ppc/cpu-qom.h        |  2 +-
 accel/xen/xen-all.c         |  2 +-
 audio/audio.c               |  2 +-
 block/block-backend.c       |  2 +-
 gdbstub.c                   |  2 +-
 hw/block/pflash_cfi01.c     |  2 +-
 hw/block/virtio-blk.c       |  2 +-
 hw/display/qxl.c            |  2 +-
 hw/i386/kvm/clock.c         |  2 +-
 hw/i386/kvm/i8254.c         |  2 +-
 hw/i386/kvmvapic.c          |  2 +-
 hw/i386/xen/xen-hvm.c       |  2 +-
 hw/ide/core.c               |  2 +-
 hw/intc/arm_gicv3_its_kvm.c |  2 +-
 hw/intc/arm_gicv3_kvm.c     |  2 +-
 hw/intc/spapr_xive_kvm.c    |  2 +-
 hw/misc/mac_via.c           |  2 +-
 hw/net/e1000e_core.c        |  2 +-
 hw/nvram/spapr_nvram.c      |  2 +-
 hw/ppc/ppc.c                |  2 +-
 hw/ppc/ppc_booke.c          |  2 +-
 hw/s390x/tod-kvm.c          |  2 +-
 hw/scsi/scsi-bus.c          |  2 +-
 hw/usb/hcd-ehci.c           |  2 +-
 hw/usb/host-libusb.c        |  2 +-
 hw/usb/redirect.c           |  2 +-
 hw/vfio/migration.c         |  2 +-
 hw/virtio/virtio-rng.c      |  2 +-
 hw/virtio/virtio.c          |  2 +-
 net/net.c                   |  2 +-
 softmmu/memory.c            |  2 +-
 softmmu/runstate.c          |  4 ++--
 target/arm/kvm.c            |  2 +-
 target/i386/kvm/kvm.c       |  2 +-
 target/i386/sev.c           |  2 +-
 target/i386/whpx/whpx-all.c |  2 +-
 target/mips/kvm.c           |  4 ++--
 ui/gtk.c                    |  2 +-
 ui/spice-core.c             |  2 +-
 41 files changed, 51 insertions(+), 45 deletions(-)

-- 
2.26.2


Re: [PATCH 0/2] sysemu: Let VMChangeStateHandler take boolean 'running' argument

Posted by Stefan Hajnoczi 4 days, 13 hours ago
On Mon, Jan 11, 2021 at 04:20:18PM +0100, Philippe Mathieu-Daudé wrote:
> Trivial prototype change to clarify the use of the 'running'
> argument of VMChangeStateHandler.
> 
> Green CI:
> https://gitlab.com/philmd/qemu/-/pipelines/239497352
> 
> Philippe Mathieu-Daudé (2):
>   sysemu/runstate: Let runstate_is_running() return bool
>   sysemu: Let VMChangeStateHandler take boolean 'running' argument
> 
>  include/sysemu/runstate.h   | 12 +++++++++---
>  target/arm/kvm_arm.h        |  2 +-
>  target/ppc/cpu-qom.h        |  2 +-
>  accel/xen/xen-all.c         |  2 +-
>  audio/audio.c               |  2 +-
>  block/block-backend.c       |  2 +-
>  gdbstub.c                   |  2 +-
>  hw/block/pflash_cfi01.c     |  2 +-
>  hw/block/virtio-blk.c       |  2 +-
>  hw/display/qxl.c            |  2 +-
>  hw/i386/kvm/clock.c         |  2 +-
>  hw/i386/kvm/i8254.c         |  2 +-
>  hw/i386/kvmvapic.c          |  2 +-
>  hw/i386/xen/xen-hvm.c       |  2 +-
>  hw/ide/core.c               |  2 +-
>  hw/intc/arm_gicv3_its_kvm.c |  2 +-
>  hw/intc/arm_gicv3_kvm.c     |  2 +-
>  hw/intc/spapr_xive_kvm.c    |  2 +-
>  hw/misc/mac_via.c           |  2 +-
>  hw/net/e1000e_core.c        |  2 +-
>  hw/nvram/spapr_nvram.c      |  2 +-
>  hw/ppc/ppc.c                |  2 +-
>  hw/ppc/ppc_booke.c          |  2 +-
>  hw/s390x/tod-kvm.c          |  2 +-
>  hw/scsi/scsi-bus.c          |  2 +-
>  hw/usb/hcd-ehci.c           |  2 +-
>  hw/usb/host-libusb.c        |  2 +-
>  hw/usb/redirect.c           |  2 +-
>  hw/vfio/migration.c         |  2 +-
>  hw/virtio/virtio-rng.c      |  2 +-
>  hw/virtio/virtio.c          |  2 +-
>  net/net.c                   |  2 +-
>  softmmu/memory.c            |  2 +-
>  softmmu/runstate.c          |  4 ++--
>  target/arm/kvm.c            |  2 +-
>  target/i386/kvm/kvm.c       |  2 +-
>  target/i386/sev.c           |  2 +-
>  target/i386/whpx/whpx-all.c |  2 +-
>  target/mips/kvm.c           |  4 ++--
>  ui/gtk.c                    |  2 +-
>  ui/spice-core.c             |  2 +-
>  41 files changed, 51 insertions(+), 45 deletions(-)
> 
> -- 
> 2.26.2
> 
> 

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>