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 <mdr...@linux.vnet.ibm.com>
---
 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


Reply via email to