]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/misc/vmw_balloon.c
VMware balloon: Show capabilities of balloon and resulting capabilities in the debug...
[karo-tx-linux.git] / drivers / misc / vmw_balloon.c
index 0b5aa93e68268d677375ed7b7200ec3e0b055945..f0beb65cbeebe2faa566fca61bc0e50dd1f8646b 100644 (file)
@@ -47,7 +47,7 @@
 
 MODULE_AUTHOR("VMware, Inc.");
 MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.3.2.0-k");
+MODULE_VERSION("1.3.3.0-k");
 MODULE_ALIAS("dmi:*:svnVMware*:*");
 MODULE_ALIAS("vmware_vmmemctl");
 MODULE_LICENSE("GPL");
@@ -979,6 +979,12 @@ static int vmballoon_debug_show(struct seq_file *f, void *offset)
        struct vmballoon *b = f->private;
        struct vmballoon_stats *stats = &b->stats;
 
+       /* format capabilities info */
+       seq_printf(f,
+                  "balloon capabilities:   %#4x\n"
+                  "used capabilities:      %#4lx\n",
+                  VMW_BALLOON_CAPABILITIES, b->capabilities);
+
        /* format size info */
        seq_printf(f,
                   "target:             %8d pages\n"