silence some pci/uic debugging in kvmppc
PATCH 1/1 silence some pci/uic debugging in kvmppc
Subject: [PATCH] silence some pci/uic debugging in kvmppc userspace
From: Christian Ehrhardt <[email protected]>
This is deactivating some debug message that would flood the console when using working things with sigificant load e.g. virtio for nfs root. While this patch is deactivating it the solution might also be to a) split that debug prints of the original 4xx_pci.diff patch, guard that prinf's with a DEBUG_PCI define and additionally set the default to be off.
Short: the default should be non verbose - Hollis this is your code what do you prefer?
---
[diffstat]
ppc4xx_devs.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
qemu/hw/ppc4xx_devs.c +4 -4
@@ -33,7 +33,7 @@ extern FILE *logfile;//#define DEBUG_MMIO //#define DEBUG_UNASSIGNED -#define DEBUG_UIC +//#define DEBUG_UIC /*****************************************************************************/ /* Generic PowerPC 4xx processor instanciation */
@@ -814,8 +814,8 @@ static int bamboo_pci_map_irq(PCIDeviceint slot = pci_dev->devfn >>3 ;/* All pins from each slot are tied to a single board IRQ (2-5) */ -printf ("### %s: devfn %x irq %d -> %d\n" , __func__, - pci_dev->devfn, irq_num, slot+1 ); +/* printf("### %s: devfn %x irq %d -> %d\n", __func__, +pci_dev->devfn, irq_num, slot+1); */ /* XXX re-examine */ return slot +1 ;
@@ -823,7 +823,7 @@ static int bamboo_pci_map_irq(PCIDevicestatic void bamboo_pci_set_irq (qemu_irq *pic,int irq_num,int level) { -printf ("### %s: PCI irq %d, UIC irq %d\n" , __func__, irq_num,30 - irq_num); +/* printf("### %s: PCI irq %d, UIC irq %d\n", __func__, irq_num, 30 - irq_num); */ /* XXX re-examine */ qemu_set_irq (pic[30 -irq_num], level);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel