From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PINzk-0006EU-3b for qemu-devel@nongnu.org; Tue, 16 Nov 2010 11:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PINzf-0005Gn-I9 for qemu-devel@nongnu.org; Tue, 16 Nov 2010 11:02:53 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:34532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PINzf-0005Gh-Fk for qemu-devel@nongnu.org; Tue, 16 Nov 2010 11:02:51 -0500 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e5.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id oAGFfJTS013528 for ; Tue, 16 Nov 2010 10:41:19 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAGG2paS299050 for ; Tue, 16 Nov 2010 11:02:51 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAGG2mbU015288 for ; Tue, 16 Nov 2010 11:02:50 -0500 From: Michael Roth Date: Tue, 16 Nov 2010 10:01:59 -0600 Message-Id: <1289923320-5638-18-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1289923320-5638-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1289923320-5638-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC][PATCH v4 17/18] virtagent: qemu-vp, va_send_hello() on startup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@linux.vnet.ibm.com, ryanh@us.ibm.com, agl@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com, abeekhof@redhat.com Make the hello call on guest agent startup so QEMU can do whatever init it needs (currently, capabilities negotiation). Temporarilly commented due to this tending to induce a virtio bug in RHEL 6.0. As a result capabilities negotiation must be invoked manually from QEMU via the agent_capabilities monitor command. Signed-off-by: Michael Roth --- qemu-vp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/qemu-vp.c b/qemu-vp.c index 38959e5..b8af513 100644 --- a/qemu-vp.c +++ b/qemu-vp.c @@ -580,6 +580,8 @@ int main(int argc, char **argv) errx(EXIT_FAILURE, "error initializing guest agent"); } + /* tell the host the agent is running */ + //va_send_hello(); } /* main i/o loop */ -- 1.7.0.4