]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Tue, 17 Nov 2009 21:29:06 +0000 (13:29 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 17 Nov 2009 21:29:06 +0000 (13:29 -0800)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/vixCommands.h
open-vm-tools/lib/include/vm_version.h
open-vm-tools/modules/linux/pvscsi/scsi_defs.h
open-vm-tools/modules/shared/vmxnet/vmnet_def.h

index ce7200f879a8e3106b5c62305bfd2b3a7f4b2dd4..2019882e3346e37aac8e79e25826449314fb2036 100644 (file)
@@ -95,6 +95,7 @@ enum {
    VIX_REQUESTMSG_RUN_IN_ANY_VMX_STATE                = 0x04,
    VIX_REQUESTMSG_REQUIRES_INTERACTIVE_ENVIRONMENT    = 0x08,
    VIX_REQUESTMSG_INCLUDES_AUTH_DATA_V1               = 0x10,
+   VIX_REQUESTMSG_REQUIRES_VMDB_NOTIFICATION          = 0x20,
 };
 
 
@@ -102,10 +103,11 @@ enum {
  * These are the flags set in responseFlags.
  */
 enum VixResponseFlagsValues {
-   VIX_RESPONSE_SOFT_POWER_OP       = 0x0001,
-   VIX_RESPONSE_EXTENDED_RESULT_V1  = 0x0002,
-   VIX_RESPONSE_TRUNCATED           = 0x0004,
-   VIX_RESPONSE_FSR                 = 0x0008
+   VIX_RESPONSE_SOFT_POWER_OP             = 0x0001,
+   VIX_RESPONSE_EXTENDED_RESULT_V1        = 0x0002,
+   VIX_RESPONSE_TRUNCATED                 = 0x0004,
+   VIX_RESPONSE_FSR                       = 0x0008,
+   VIX_RESPONSE_VMDB_NOTIFICATION_POSTED  = 0x0010,
 };
 
 
index de7c2dfa51845608cf2d461c315ed5307a1f1897..ed1b492b4f3f45271a8b0ba8469f002c12003237 100644 (file)
 #define VMLS_VERSION "e.x.p"
 #define VLICENSE_VERSION "1.1.2"
 #define DDK_VERSION "e.x.p"
-#define VIM_API_VERSION "4.5"
+#define VIM_API_VERSION "4.1"
 #define VIPERL_VERSION "1.1.0"
 #define RCLI_VERSION "4.5.0"
 #define VDM_VERSION "e.x.p"
index 199915148f03b681c0e2f45cf24070820fd9fa5a..35b268fc3ff1f154b05ef3e3f389694890f55f85 100644 (file)
@@ -1269,10 +1269,11 @@ struct {
        sync_nv :1,
        immed   :1, // if set return without waiting for sync to complete
                :1;
-   uint32     lbn; // number of blocks to sync, 0 for full disk
+   uint32     lbn; // block number to begin sync
    uint8       :4,
       grp_num  :4;
-   uint8      lbc; // blk to begin sync, 0 for full disk
+   uint16     lbc; // number of blocks to sync, 0 for all blocks starting
+                   // from lbn to the last block on the medium
    uint8  control; // control byte
 }
 #include "vmware_pack_end.h"
@@ -1286,10 +1287,11 @@ struct {
        sync_nv :1,
        immed   :1, // if set return, wihout waiting for sync to complete
                :1;
-   uint64     lbn; // number of blocks to sync, 0 for full disk
+   uint64     lbn; // block number to begin sync
+   uint32     lbc; // number of blocks to sync, 0 for all blocks starting
+                   // from lbn to the last block on the medium
    uint8       :4,
       grp_num  :4;
-   uint32     lbc; // block number to begin sync, 0 for full disk
    uint8  control; // control byte
 }
 #include "vmware_pack_end.h"
index 07fbbb6f6ead95a6df20470fe32fa259f7eb892b..6c6a3d71d36f928dd48b7be2a1b284617badb823 100644 (file)
@@ -76,4 +76,5 @@
 #define VMNET_CAP_TSO6         0x100000        /* Can do TSO segmentation offload for IPv6 pkts. */
 #define VMNET_CAP_TSO256k      0x200000        /* Can do TSO segmentation offload for pkts up to 256kB. */
 #define VMNET_CAP_UPT          0x400000        /* Support UPT */
+#define VMNET_CAP_RDONLY_INETHDRS 0x800000 /* Modifies inet headers for TSO/CSUm */
 #endif // _VMNET_DEF_H_