Remove debug printks.
PATCH 4/5 Remove debug printks.
Remove debug printks.
Sometimes they generate too much output on serial console.
Signed-off-by Arun Sharma <[email protected]>
xen/arch/x86/vmx.c +1 -4
@@ -1455,12 +1484,9 @@if (idtv_info_field &0x800 ) {/* valid error code */ unsigned long error_code; -printk ("VMX exit %x: %x/%lx\n" , - exit_reason, idtv_info_field, error_code);__vmread (VM_EXIT_INTR_ERROR_CODE , &error_code);__vmwrite (VM_ENTRY_EXCEPTION_ERROR_CODE , error_code); - }else -printk ("VMX exit %x: %x\n" , exit_reason, idtv_info_field); + } }VMX_DBG_LOG (DBG_LEVEL_1 ,"idtv_info_field=%x" , idtv_info_field); }
Quoted 3 lines · Arun Sharma
Remove debug printks.
Sometimes they generate too much output on serial console.
Not to mention that error_code was used before being initialized:
Quoted 3 lines
xen/arch/x86/vmx.c +0
-2unsigned long error_code; -printk ("VMX exit %x: %x/%lx\n" , - exit_reason, idtv_info_field, error_code);
Signature · 1 line
David Hopwood <[email protected]>