qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: marcel.a@redhat.com, stefano.stabellini@eu.citrix.com,
	agraf@suse.de, mst@redhat.com, pbonzini@redhat.com,
	afaerber@suse.de
Subject: [Qemu-devel] [PATCH 0/4] tests for -m option
Date: Wed, 25 Jun 2014 13:42:19 +0200	[thread overview]
Message-ID: <1403696543-2458-1-git-send-email-imammedo@redhat.com> (raw)

Series adds properties to machine class for its ram_size,
ram_slots, maxram_size fields making them available via QMP
interface so that management tools and unit tests could
query values.

The last patch provides rudimentary -m option testing and
basis for memory hotplug tests that will be added later.

git repo for testing:
  https://github.com/imammedo/qemu/commits/memory-hotplug-tests-v1


Igor Mammedov (4):
  switch RAM_ADDR_FMT format specifier to print decimal
  vl.c: use single local_err throughout main()
  machine: convert ram_size, maxram_size, ram_slots to properties
  test -m option parameters

 arch_init.c               |   14 ++--
 exec.c                    |    4 +-
 hw/core/machine.c         |  181 +++++++++++++++++++++++++++++++++++++++++++++
 hw/i386/pc.c              |    4 +-
 hw/ppc/ppc405_boards.c    |    2 +-
 include/exec/cpu-common.h |    6 +-
 include/hw/boards.h       |    5 +
 numa.c                    |    2 +-
 tests/Makefile            |    2 +
 tests/memhp-test.c        |  145 ++++++++++++++++++++++++++++++++++++
 vl.c                      |  127 ++++++++++++++------------------
 xen-hvm.c                 |   11 +--
 12 files changed, 410 insertions(+), 93 deletions(-)
 create mode 100644 tests/memhp-test.c

             reply	other threads:[~2014-06-25 11:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 11:42 Igor Mammedov [this message]
2014-06-25 11:42 ` [Qemu-devel] [PATCH 1/4] switch RAM_ADDR_FMT format specifier to print decimal Igor Mammedov
2014-06-25 11:51   ` Michael S. Tsirkin
2014-06-25 12:14     ` Igor Mammedov
2014-06-25 15:38       ` Michael S. Tsirkin
2014-06-25 17:47   ` Peter Maydell
2014-06-25 11:42 ` [Qemu-devel] [PATCH 2/4] vl.c: use single local_err throughout main() Igor Mammedov
2014-06-25 11:51   ` Michael S. Tsirkin
2014-06-25 12:16     ` Igor Mammedov
2014-06-25 15:42       ` Michael S. Tsirkin
2014-06-25 11:42 ` [Qemu-devel] [PATCH 3/4] machine: convert ram_size, maxram_size, ram_slots to properties Igor Mammedov
2014-06-25 11:54   ` Michael S. Tsirkin
2014-06-25 13:08     ` Igor Mammedov
2014-06-25 15:37       ` Michael S. Tsirkin
2014-06-25 14:09   ` Kirill Batuzov
2014-06-25 14:45     ` Igor Mammedov
2014-06-25 11:42 ` [Qemu-devel] [PATCH 4/4] test -m option parameters Igor Mammedov

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=1403696543-2458-1-git-send-email-imammedo@redhat.com \
    --to=imammedo@redhat.com \
    --cc=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).