mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:20:58 +07:00
VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.
This helps with debugging vmw_balloon behavior, as it is clear what functionality is enabled. Acked-by: Andy King <acking@vmware.com> Signed-off-by: Xavier Deguillard <xdeguillard@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4670de4d7f
commit
b36e89da86
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user