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=852709e02c3965415d7219f40a00b569d6cc8f93;hp=d27429b1224280fc0cab58d2a45c6b27d772b771;hb=3cab540e9e47ce3562dae4c03b20d84b24d8f1f7;hpb=5c5dfe422e57ac9833dd3ed3a7d0f5c39557b86c 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) {