All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, amit.shah@redhat.com, aliguori@us.ibm.com,
	armbru@redhat.com, jan.kiszka@siemens.com
Subject: [Qemu-devel] [PATCH v3 0/8]: Introduce the RunState type
Date: Thu,  1 Sep 2011 15:12:10 -0300	[thread overview]
Message-ID: <1314900738-30164-1-git-send-email-lcapitulino@redhat.com> (raw)

It replaces the VMSTOP macros and allows us to drop some global variables.

Additionally, the problem with issuing 'cont' when the VM is in bad state
is addressed and we make the current state available in QMP and HMP.

changelog
---------

v3

o Rebase on top of latest master
o Fix a spice VM change state handler which hasn't been converted
o Turn runstate_get() into runstate_check()
o Rename vm_is_running() to runstate_is_running()
o Other minor renames and log improvements

v2

o Rename the new type from QemuState to RunState
  (also renames related functions)
o Rename the enum values to contain proper word seperation
o Redo patch 'Monitor: Don't allow cont on bad VM state' to not use a global
  variable
o Make the current VM state also available in HMP
o Improve some commit logs a bit

 audio/audio.c      |    2 +-
 cpus.c             |   22 ++++++++--------
 cpus.h             |    1 -
 gdbstub.c          |   34 ++++++++++++------------
 hw/etraxfs_dma.c   |    2 +-
 hw/ide/ahci.c      |    2 +-
 hw/ide/core.c      |    4 +-
 hw/ide/internal.h  |    3 +-
 hw/ide/pci.c       |    2 +-
 hw/kvmclock.c      |    5 ++-
 hw/qxl.c           |    5 ++-
 hw/scsi-disk.c     |    4 +-
 hw/virtio-blk.c    |    5 ++-
 hw/virtio.c        |    4 +-
 hw/watchdog.c      |    2 +-
 kvm-all.c          |    2 +-
 migration.c        |   14 ++++++---
 monitor.c          |   22 +++++++++++----
 qemu-timer.c       |   11 ++++---
 qerror.c           |    4 +++
 qerror.h           |    3 ++
 qmp-commands.hx    |   21 ++++++++++++++-
 savevm.c           |    8 +++---
 sysemu.h           |   40 +++++++++++++++++++---------
 target-i386/kvm.c  |    4 +-
 ui/sdl.c           |    6 ++--
 ui/spice-display.c |    3 +-
 ui/spice-display.h |    4 ++-
 vl.c               |   71 +++++++++++++++++++++++++++++++++++++++++++--------
 xen-all.c          |    8 +++--
 30 files changed, 215 insertions(+), 103 deletions(-)

             reply	other threads:[~2011-09-01 18:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 18:12 Luiz Capitulino [this message]
2011-09-01 18:12 ` [Qemu-devel] [PATCH 1/8] Move vm_state_notify() prototype from cpus.h to sysemu.h Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 2/8] Replace the VMSTOP macros with a proper state type Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 3/8] RunState: Add additional states Luiz Capitulino
2011-09-01 18:30   ` Jan Kiszka
2011-09-01 18:39     ` Luiz Capitulino
2011-09-01 20:58       ` Jan Kiszka
2011-09-02 14:28         ` Luiz Capitulino
2011-09-02 14:32           ` Jan Kiszka
2011-09-02 14:34             ` Luiz Capitulino
2011-09-06 13:17           ` Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 4/8] Drop the incoming_expected global variable Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 5/8] Drop the vm_running " Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 6/8] Monitor/QMP: Don't allow cont on bad VM state Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 7/8] QMP: query-status: Introduce 'status' key Luiz Capitulino
2011-09-01 18:12 ` [Qemu-devel] [PATCH 8/8] HMP: info status: Print the VM state Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314900738-30164-1-git-send-email-lcapitulino@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=armbru@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.