qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: robert.foley@linaro.org, robhenry@microsoft.com,
	aaron@os.amperecomputing.com, cota@braap.org,
	kuhn.chenqun@huawei.com, peter.puhov@linaro.org,
	Clement Deschamps <clement.deschamps@greensocs.com>
Subject: Re: [PATCH v1 2/4] plugins: add API to return a name for a IO device
Date: Fri, 4 Sep 2020 08:55:14 -0700	[thread overview]
Message-ID: <d497d2b9-3107-dae7-e6bd-21b9be580359@linaro.org> (raw)
In-Reply-To: <20200904134007.4175-3-alex.bennee@linaro.org>

On 9/4/20 6:40 AM, Alex Bennée wrote:
> +        return g_intern_string("RAM");
> +    }
> +#else
> +    return g_intern_string("Invalid");

g_intern_static_string.


r~


  reply	other threads:[~2020-09-04 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04 13:40 [PATCH v1 0/4] current plugins/next (reorg + hwprofile) Alex Bennée
2020-09-04 13:40 ` [PATCH v1 1/4] hw/virtio/pci: include vdev name in registered PCI sections Alex Bennée
2020-09-04 13:40 ` [PATCH v1 2/4] plugins: add API to return a name for a IO device Alex Bennée
2020-09-04 15:55   ` Richard Henderson [this message]
2020-09-04 16:27     ` Alex Bennée
2020-09-04 13:40 ` [PATCH v1 3/4] plugins: move the more involved plugins to contrib Alex Bennée
2020-09-04 13:40 ` [PATCH v1 4/4] plugins: new hwprofile plugin Alex Bennée

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=d497d2b9-3107-dae7-e6bd-21b9be580359@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=aaron@os.amperecomputing.com \
    --cc=alex.bennee@linaro.org \
    --cc=clement.deschamps@greensocs.com \
    --cc=cota@braap.org \
    --cc=kuhn.chenqun@huawei.com \
    --cc=peter.puhov@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=robert.foley@linaro.org \
    --cc=robhenry@microsoft.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).