X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_io.c;h=ece437ae8f5b6bac7360eb6ab1fd8aae1fd54e54;hp=ce126693d70876059e8466041f569e130f011d6d;hb=c502aac6baf363d633aca6ec883b05476634e854;hpb=d35c92b5c9c5aef7b1e7b5ed500b2beae504ea4e diff --git a/palacios/src/palacios/svm_io.c b/palacios/src/palacios/svm_io.c index ce12669..ece437a 100644 --- a/palacios/src/palacios/svm_io.c +++ b/palacios/src/palacios/svm_io.c @@ -20,7 +20,6 @@ int handle_svm_io_in(struct guest_info * info) { return -1; } - PrintDebug("IN on port %d (0x%x)\n", io_info->port, io_info->port); if (io_info->sz8) { read_size = 1; @@ -30,6 +29,7 @@ int handle_svm_io_in(struct guest_info * info) { read_size = 4; } + PrintDebug("IN of %d bytes on port %d (0x%x)\n", read_size, io_info->port, io_info->port); if (hook->read(io_info->port, &(info->vm_regs.rax), read_size, hook->priv_data) != read_size) { // not sure how we handle errors..... @@ -161,7 +161,6 @@ int handle_svm_io_out(struct guest_info * info) { return -1; } - PrintDebug("OUT on port %d (0x%x)\n", io_info->port, io_info->port); if (io_info->sz8) { write_size = 1; @@ -171,6 +170,7 @@ int handle_svm_io_out(struct guest_info * info) { write_size = 4; } + PrintDebug("OUT of %d bytes on port %d (0x%x)\n", write_size, io_info->port, io_info->port); if (hook->write(io_info->port, &(info->vm_regs.rax), write_size, hook->priv_data) != write_size) { // not sure how we handle errors.....