From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: anthony@codemonkey.ws, pbonzini@redhat.com, afaerber@suse.de,
stefanha@redhat.com, kraxel@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/4] qom: add helpers for integer properties
Date: Wed, 25 Sep 2013 00:54:24 +0300 [thread overview]
Message-ID: <1380059603-2075-1-git-send-email-mst@redhat.com> (raw)
Add helper functions for adding read-only properties, that work in the
case where the value is in memory.
This is part of the ACPI series, since there was a bug here
I'm resending just this chunk for more review.
Changes from v1:
don't pass pointer to visitor directly since it writes there
fixes crash reported by Gerd
Michael S. Tsirkin (4):
qemu: add Error to typedefs
qom: pull in qemu/typedefs
qom: cleanup struct Error references
qom: add pointer to int property helpers
include/qemu/typedefs.h | 1 +
include/qom/object.h | 73 +++++++++++++++++++++++++++++++------------------
qom/object.c | 60 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 108 insertions(+), 26 deletions(-)
--
MST
next reply other threads:[~2013-09-24 21:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 21:54 Michael S. Tsirkin [this message]
2013-09-24 21:54 ` [Qemu-devel] [PATCH v2 1/4] qemu: add Error to typedefs Michael S. Tsirkin
2013-09-24 21:54 ` [Qemu-devel] [PATCH v2 2/4] qom: pull in qemu/typedefs Michael S. Tsirkin
2013-09-24 21:54 ` [Qemu-devel] [PATCH v2 3/4] qom: cleanup struct Error references Michael S. Tsirkin
2013-09-24 21:54 ` [Qemu-devel] [PATCH v2 4/4] qom: add pointer to int property helpers Michael S. Tsirkin
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=1380059603-2075-1-git-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=afaerber@suse.de \
--cc=anthony@codemonkey.ws \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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).