From: Jack Lange Date: Wed, 9 Dec 2009 23:51:12 +0000 (-0600) Subject: reduced debugging messages X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=3cab540e9e47ce3562dae4c03b20d84b24d8f1f7;p=palacios.git reduced debugging messages --- diff --git a/palacios/src/devices/lnx_virtio_sym.c b/palacios/src/devices/lnx_virtio_sym.c index d27429b..852709e 100644 --- a/palacios/src/devices/lnx_virtio_sym.c +++ b/palacios/src/devices/lnx_virtio_sym.c @@ -162,9 +162,10 @@ static int virtio_io_write(uint16_t port, void * src, uint_t length, void * priv int port_idx = port % virtio->io_range_size; +/* PrintDebug("VIRTIO SYMBIOTIC Write for port %d (index=%d) len=%d, value=%x\n", port, port_idx, length, *(uint32_t *)src); - +*/ switch (port_idx) { @@ -270,10 +271,10 @@ static int virtio_io_read(uint16_t port, void * dst, uint_t length, void * priva struct virtio_sym_state * virtio = (struct virtio_sym_state *)dev->private_data; int port_idx = port % virtio->io_range_size; - +/* PrintDebug("VIRTIO SYMBIOTIC Read for port %d (index =%d), length=%d\n", port, port_idx, length); - +*/ switch (port_idx) { case HOST_FEATURES_PORT: if (length != 4) { diff --git a/palacios/src/devices/pci_passthrough.c b/palacios/src/devices/pci_passthrough.c index ce4b334..89b4e84 100644 --- a/palacios/src/devices/pci_passthrough.c +++ b/palacios/src/devices/pci_passthrough.c @@ -533,7 +533,7 @@ static int irq_handler(struct guest_info * info, struct v3_interrupt * intr, voi struct vm_device * dev = (struct vm_device *)private_data; struct pt_dev_state * state = (struct pt_dev_state *)dev->private_data; - // PrintDebug("Handling E1000 IRQ %d\n", intr->irq); +// PrintDebug("Handling E1000 IRQ %d\n", intr->irq); v3_pci_raise_irq(state->pci_bus, 0, state->pci_dev);