From: "Michael S. Tsirkin" <mst@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org, gleb@redhat.com, avi@redhat.com
Subject: Re: [Qemu-devel] [PATCHv2-repost 1/3] qemu: memory notifiers
Date: Wed, 27 Jan 2010 21:47:17 +0200 [thread overview]
Message-ID: <20100127194715.GA4338@redhat.com> (raw)
In-Reply-To: <4B5F75BF.1050005@codemonkey.ws>
On Tue, Jan 26, 2010 at 05:07:43PM -0600, Anthony Liguori wrote:
> On 01/25/2010 08:29 AM, Michael S. Tsirkin wrote:
>> This adds notifiers for phys memory changes: a set of callbacks that
>> vhost can register and update kernel accordingly. Down the road, kvm
>> code can be switched to use these as well, instead of calling kvm code
>> directly from exec.c as is done now.
>>
>> Signed-off-by: Michael S. Tsirkin<mst@redhat.com>
>> Acked-by: Avi Kivity<avi@redhat.com>
>>
>
> This breaks the linux-user build (exec.o: cpu_notify_set_memory defined
> but not used).
>
> Regards,
>
> Anthony Liguori
Ugh, this will fix it. Want me to repost the series?
diff --git a/exec.c b/exec.c
index 63caca0..2e7434e 100644
--- a/exec.c
+++ b/exec.c
@@ -1623,6 +1623,7 @@ const CPULogItem cpu_log_items[] = {
{ 0, NULL, NULL },
};
+#ifndef CONFIG_USER_ONLY
static QLIST_HEAD(memory_client_list, CPUPhysMemoryClient) memory_client_list
= QLIST_HEAD_INITIALIZER(memory_client_list);
@@ -1715,6 +1716,7 @@ void cpu_unregister_phys_memory_client(CPUPhysMemoryClient *client)
{
QLIST_REMOVE(client, list);
}
+#endif
static int cmp1(const char *s1, int n, const char *s2)
{
next prev parent reply other threads:[~2010-01-27 19:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1264429651.git.mst@redhat.com>
2010-01-25 14:29 ` [Qemu-devel] [PATCHv2-repost 1/3] qemu: memory notifiers Michael S. Tsirkin
2010-01-26 23:07 ` Anthony Liguori
2010-01-27 19:47 ` Michael S. Tsirkin [this message]
2010-01-27 19:53 ` Anthony Liguori
2010-01-25 14:29 ` [Qemu-devel] [PATCHv2-repost 2/3] kvm: move kvm_set_phys_mem around Michael S. Tsirkin
2010-01-25 14:29 ` [Qemu-devel] [PATCHv2-repost 3/3] kvm: move kvm to use memory notifiers 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=20100127194715.GA4338@redhat.com \
--to=mst@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=gleb@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 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).