From: Jack Lange Date: Wed, 19 Aug 2009 18:42:41 +0000 (-0500) Subject: switch print statements back to debug X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=c4a5d877f7cbd0419439af4adf600dde225e9564 switch print statements back to debug --- diff --git a/palacios/src/devices/pci.c b/palacios/src/devices/pci.c index 2e7044f..0d11ed5 100644 --- a/palacios/src/devices/pci.c +++ b/palacios/src/devices/pci.c @@ -385,14 +385,14 @@ static inline int is_cfg_reg_writable(uchar_t header_type, int reg_num) { static int bar_update(struct pci_device * pci, int bar_num, uint32_t new_val) { struct v3_pci_bar * bar = &(pci->bar[bar_num]); - PrintError("Updating BAR Register (Dev=%s) (bar=%d) (old_val=0x%x) (new_val=0x%x)\n", + PrintDebug("Updating BAR Register (Dev=%s) (bar=%d) (old_val=0x%x) (new_val=0x%x)\n", pci->name, bar_num, bar->val, new_val); switch (bar->type) { case PCI_BAR_IO: { int i = 0; - PrintError("\tRehooking %d IO ports from base 0x%x to 0x%x for %d ports\n", + PrintDebug("\tRehooking %d IO ports from base 0x%x to 0x%x for %d ports\n", bar->num_ports, PCI_IO_BASE(bar->val), PCI_IO_BASE(new_val), bar->num_ports); @@ -403,7 +403,7 @@ static int bar_update(struct pci_device * pci, int bar_num, uint32_t new_val) { for (i = 0; i < bar->num_ports; i++) { - PrintError("Rehooking PCI IO port (old port=%u) (new port=%u)\n", + PrintDebug("Rehooking PCI IO port (old port=%u) (new port=%u)\n", PCI_IO_BASE(bar->val) + i, PCI_IO_BASE(new_val) + i); v3_dev_unhook_io(pci->vm_dev, PCI_IO_BASE(bar->val) + i);