]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Add the notification to toolsd about the guest log level change.
authorOliver Kurth <okurth@vmware.com>
Mon, 20 Aug 2018 19:48:05 +0000 (12:48 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 20 Aug 2018 19:48:05 +0000 (12:48 -0700)
Consolidated the VIGOR APIs of guestLogEnabled and guestLogLevel, since
it is easier for the customers to use just one API to set both. Use
the "disable" enum value to disable the guest logging instead of
using a separate field and VIGOR API.

Now sending a new tools option to the toolsd whenever the guestLogLevel
changes.

open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h

index f24dc9c6288f05ab61fca4cb8e05ed2b79f488a6..b884864bff42dd9351c59acd16000780e9e2d62c 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2009-2016 VMware, Inc. All rights reserved.
+ * Copyright (C) 2009-2018 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
@@ -64,6 +64,7 @@
 #define TOOLSOPTION_MAP_ROOT_HGFS_SHARE           "mapRootHgfsShare"
 #define TOOLSOPTION_LINK_ROOT_HGFS_SHARE          "linkRootHgfsShare"
 #define TOOLSOPTION_ENABLE_MESSAGE_BUS_TUNNEL     "enableMessageBusTunnel"
+#define TOOLSOPTION_GUEST_LOG_LEVEL               "guestLogLevel"
 
 /*
  * Auto-upgrade commands.