qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: aliguori@us.ibm.com
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 2/8] qmp: include monitor.h when needed
Date: Fri, 15 Jun 2012 14:09:59 -0300	[thread overview]
Message-ID: <1339780205-3447-3-git-send-email-lcapitulino@redhat.com> (raw)
In-Reply-To: <1339780205-3447-1-git-send-email-lcapitulino@redhat.com>

From: Paolo Bonzini <pbonzini@redhat.com>

This is needed to get file descriptors from SCM_RIGHTS.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 hmp.c     | 1 +
 net/tap.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hmp.c b/hmp.c
index 2ce8cb9..b9cec1d 100644
--- a/hmp.c
+++ b/hmp.c
@@ -18,6 +18,7 @@
 #include "qemu-option.h"
 #include "qemu-timer.h"
 #include "qmp-commands.h"
+#include "monitor.h"
 
 static void hmp_handle_error(Monitor *mon, Error **errp)
 {
diff --git a/net/tap.c b/net/tap.c
index 5ac4ba3..17e9135 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -34,6 +34,7 @@
 #include <net/if.h>
 
 #include "net.h"
+#include "monitor.h"
 #include "sysemu.h"
 #include "qemu-char.h"
 #include "qemu-common.h"
-- 
1.7.10.2.565.gbd578b5

  parent reply	other threads:[~2012-06-15 17:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 17:09 [Qemu-devel] [PULL 0/8]: QMP queue Luiz Capitulino
2012-06-15 17:09 ` [Qemu-devel] [PATCH 1/8] kvm: add missing include files Luiz Capitulino
2012-06-15 17:09 ` Luiz Capitulino [this message]
2012-06-15 17:10 ` [Qemu-devel] [PATCH 3/8] qmp: do not include monitor.h from qapi-types-core.h Luiz Capitulino
2012-06-15 17:10 ` [Qemu-devel] [PATCH 4/8] monitor: Fix memory leak with readline completion Luiz Capitulino
2012-06-15 17:10 ` [Qemu-devel] [PATCH 5/8] Fix some more license versions (GPL2+ instead of GPL2) Luiz Capitulino
2012-06-15 17:10 ` [Qemu-devel] [PATCH 6/8] Add event notification for guest balloon changes Luiz Capitulino
2012-06-15 17:10 ` [Qemu-devel] [PATCH 7/8] Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG events Luiz Capitulino
2012-06-15 17:10 ` [Qemu-devel] [PATCH 8/8] build: install qmp-commands.txt Luiz Capitulino
2012-06-20 13:09 ` [Qemu-devel] [PULL 0/8]: QMP queue Anthony Liguori

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=1339780205-3447-3-git-send-email-lcapitulino@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=pbonzini@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).