]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Mon, 26 Jul 2010 18:08:24 +0000 (11:08 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 26 Jul 2010 18:08:24 +0000 (11:08 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/foundryMsg/foundryMsg.c
open-vm-tools/lib/include/vixCommands.h

index c3185ee1ff8ca7f8cd10b11ec43e94b4470e511f..db05899e8d63dfa1afa73b5a2c5069cfd80ff1d8 100644 (file)
@@ -125,8 +125,7 @@ static const VixCommandInfo vixCommandInfoTable[] = {
                            VIX_COMMAND_CATEGORY_PRIVILEGED),
    VIX_DEFINE_COMMAND_INFO(VIX_COMMAND_UPGRADE_VIRTUAL_HARDWARE,
                            VIX_COMMAND_CATEGORY_PRIVILEGED),
-   VIX_DEFINE_COMMAND_INFO(VIX_COMMAND_SET_NIC_BANDWIDTH,
-                           VIX_COMMAND_CATEGORY_PRIVILEGED),
+   VIX_DEFINE_UNUSED_COMMAND,
    VIX_DEFINE_COMMAND_INFO(VIX_COMMAND_CREATE_DISK,
                            VIX_COMMAND_CATEGORY_PRIVILEGED),
    VIX_DEFINE_COMMAND_INFO(VIX_COMMAND_CREATE_FLOPPY,
index 72fdb3a36e272d5ddaa1600136a4abe47893be5e..79629901c7294540a63031e3335f216387daddb8 100644 (file)
@@ -338,48 +338,6 @@ struct VixMsgPowerOpRequest {
 VixMsgPowerOpRequest;
 
 
-
-/*
- * **********************************************************
- * Set NIC request. The response is just a generic
- * response header (it has no body).
- */
-typedef
-#include "vmware_pack_begin.h"
-struct VixMsgNICBandwidth {
-   Bool        validNICNum;
-   int32       nicNum;
-   char        pvnGUID[64];
-
-   uint32      totalBandwidth;
-   uint32      maxSendBandwidth;
-   uint32      maxReceiveBandwidth;
-
-   uint32      packetLossPattern;
-   uint32      packetLossRate;
-   uint32      packetLossMinBurstDuration;
-   uint32      packetLossMaxBurstDuration;
-
-   uint32      minLatency;
-   uint32      maxLatency;
-
-   uint32      options;
-}
-#include "vmware_pack_end.h"
-VixMsgNICBandwidth;
-   
-
-typedef
-#include "vmware_pack_begin.h"
-struct VixMsgSetNICBandwidthRequest {
-   VixCommandRequestHeader header;
-   VixMsgNICBandwidth      nicSettings;
-}
-#include "vmware_pack_end.h"
-VixMsgSetNICBandwidthRequest;
-
-
-
 /*
  * **********************************************************
  * Get/Set Properties Request
@@ -451,6 +409,29 @@ struct VixMsgConfigurationObjectType {
 #include "vmware_pack_end.h"
 VixMsgConfigurationObjectType;
 
+typedef
+#include "vmware_pack_begin.h"
+struct VixMsgNICBandwidth {
+   Bool        validNICNum;
+   int32       nicNum;
+   char        pvnGUID[64];
+
+   uint32      totalBandwidth;
+   uint32      maxSendBandwidth;
+   uint32      maxReceiveBandwidth;
+
+   uint32      packetLossPattern;
+   uint32      packetLossRate;
+   uint32      packetLossMinBurstDuration;
+   uint32      packetLossMaxBurstDuration;
+
+   uint32      minLatency;
+   uint32      maxLatency;
+
+   uint32      options;
+}
+#include "vmware_pack_end.h"
+VixMsgNICBandwidth;
 
 typedef
 #include "vmware_pack_begin.h"