xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/11] tmem: reduce severity of log messages
@ 2012-09-05 12:39 Jan Beulich
  2012-09-07 12:15 ` [PATCH 09/11, v2] " Jan Beulich
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Beulich @ 2012-09-05 12:39 UTC (permalink / raw)
  To: xen-devel; +Cc: dan.magenheimer, Zhenzhong Duan

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Otherwise they can be used by a guest to spam the hypervisor log with
all settings at their defaults.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>

--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -16,6 +16,7 @@
 
 #ifdef __XEN__
 #include <xen/tmem_xen.h> /* host-specific (eg Xen) code goes here */
+#define printk(fmt, args...) gdprintk(XENLOG_INFO, fmt, ##args)
 #endif
 
 #include <xen/tmem.h>




[-- Attachment #2: tmem-xsa-15-9.patch --]
[-- Type: text/plain, Size: 516 bytes --]

tmem: reduce severity of log messages

Otherwise they can be used by a guest to spam the hypervisor log with
all settings at their defaults.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>

--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -16,6 +16,7 @@
 
 #ifdef __XEN__
 #include <xen/tmem_xen.h> /* host-specific (eg Xen) code goes here */
+#define printk(fmt, args...) gdprintk(XENLOG_INFO, fmt, ##args)
 #endif
 
 #include <xen/tmem.h>

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-17 22:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 12:39 [PATCH 09/11] tmem: reduce severity of log messages Jan Beulich
2012-09-07 12:15 ` [PATCH 09/11, v2] " Jan Beulich
2012-09-11  8:36   ` Ping: " Jan Beulich
2012-09-11  9:18     ` DuanZhenzhong
2012-09-11  9:42       ` Jan Beulich
2012-09-11 10:01         ` DuanZhenzhong
2012-09-11 10:26           ` Jan Beulich
2012-09-11 11:56             ` zhenzhong.duan
2012-09-17 22:21               ` Dan Magenheimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).