From 48ff7a625b3611d075d8798585df86455bb2d1fd Mon Sep 17 00:00:00 2001 From: Michael Roth Date: Wed, 20 Jul 2011 15:19:37 -0500 Subject: guest agent: qemu-ga daemon This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines, and writes the results back to the channel in a manner similar to QMP. A shorthand invocation: qemu-ga -d Is equivalent to: qemu-ga -m virtio-serial -p /dev/virtio-ports/org.qemu.guest_agent.0 \ -f /var/run/qemu-ga.pid -d Signed-off-by: Michael Roth Signed-off-by: Luiz Capitulino --- qga/guest-agent-core.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qga') diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h index 688f1205b5..66d1729689 100644 --- a/qga/guest-agent-core.h +++ b/qga/guest-agent-core.h @@ -15,6 +15,7 @@ #define QGA_VERSION "1.0" +typedef struct GAState GAState; typedef struct GACommandState GACommandState; void ga_command_state_add(GACommandState *cs, @@ -23,3 +24,6 @@ void ga_command_state_add(GACommandState *cs, void ga_command_state_init_all(GACommandState *cs); void ga_command_state_cleanup_all(GACommandState *cs); GACommandState *ga_command_state_new(void); +bool ga_logging_enabled(GAState *s); +void ga_disable_logging(GAState *s); +void ga_enable_logging(GAState *s); -- cgit v1.2.1