X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_io.c;fp=palacios%2Fsrc%2Fpalacios%2Fsvm_io.c;h=d4af89f4842beb8cddeb368e3984afe068dd4704;hb=c0c9f2110ba4830893373b9471a4ff4242489f72;hp=c46d45a70fdadb4d74e206dc7a8dc79d71717791;hpb=c7a9fea1093d8000b547a394a90abe7dffc518da;p=palacios.git diff --git a/palacios/src/palacios/svm_io.c b/palacios/src/palacios/svm_io.c index c46d45a..d4af89f 100644 --- a/palacios/src/palacios/svm_io.c +++ b/palacios/src/palacios/svm_io.c @@ -170,7 +170,8 @@ int v3_handle_svm_io_ins(struct guest_info * info) { // This value should be set depending on the host register size... mask = get_gpr_mask(info); - PrintDebug("INS io_info invalid address size, mask=0x%x, io_info=0x%x\n",mask,*((uint_t*)(io_info))); + PrintDebug("INS io_info invalid address size, mask=0x%p, io_info=0x%p\n", + (void *)mask, (void *)(io_info)); // PrintDebug("INS Aborted... Check implementation\n"); //return -1; } @@ -187,7 +188,7 @@ int v3_handle_svm_io_ins(struct guest_info * info) { addr_t host_addr; dst_addr = get_addr_linear(info, info->vm_regs.rdi & mask, theseg); - PrintDebug("Writing 0x%x\n", dst_addr); + PrintDebug("Writing 0x%p\n", (void *)dst_addr); if (guest_va_to_host_va(info, dst_addr, &host_addr) == -1) { // either page fault or gpf... @@ -309,7 +310,8 @@ int v3_handle_svm_io_outs(struct guest_info * info) { // This value should be set depending on the host register size... mask = get_gpr_mask(info); - PrintDebug("OUTS io_info invalid address size, mask=0x%, io_info=0x%x\n",mask,*((uint_t*)(io_info))); + PrintDebug("OUTS io_info invalid address size, mask=0%p, io_info=0x%p\n", + (void *)mask, (void *)io_info); // PrintDebug("INS Aborted... Check implementation\n"); //return -1; // should never happen