X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Flnx_virtio_sym.c;h=2cd3745a1a2346631d66694c23a9d1757a8bd57f;hp=d27429b1224280fc0cab58d2a45c6b27d772b771;hb=571979dad8fc2138a7e11c4fe61e812a0a0b17d1;hpb=123a1ba27ea09c8fa77a1b36ce625b43d7c48b14 diff --git a/palacios/src/devices/lnx_virtio_sym.c b/palacios/src/devices/lnx_virtio_sym.c index d27429b..2cd3745 100644 --- a/palacios/src/devices/lnx_virtio_sym.c +++ b/palacios/src/devices/lnx_virtio_sym.c @@ -115,8 +115,9 @@ static int handle_kick(struct vm_device * dev) { addr_t page_addr; tmp_desc = &(q->desc[desc_idx]); - PrintDebug("Header Descriptor (ptr=%p) gpa=%p, len=%d, flags=%x, next=%d\n", tmp_desc, - (void *)(tmp_desc->addr_gpa), tmp_desc->length, + PrintDebug("Header Descriptor (ptr=%p) gpa=%p, len=%d, flags=%x, next=%d\n", + tmp_desc, + (void *)(addr_t)(tmp_desc->addr_gpa), tmp_desc->length, tmp_desc->flags, tmp_desc->next); @@ -162,9 +163,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 +272,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) {