From: Jack Lange Date: Tue, 26 Apr 2011 22:28:05 +0000 (-0500) Subject: quited debugging output X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=259a6afe752758f5ef79b19d12b599a6419cecc9;p=palacios-OLD.git quited debugging output --- diff --git a/palacios/src/palacios/vmm_v3dec.c b/palacios/src/palacios/vmm_v3dec.c index 4fa6e04..54e11ad 100644 --- a/palacios/src/palacios/vmm_v3dec.c +++ b/palacios/src/palacios/vmm_v3dec.c @@ -75,7 +75,7 @@ int v3_decode(struct guest_info * core, addr_t instr_ptr, struct x86_instr * ins int length = 0; - V3_Print("Decoding Instruction at %p\n", (void *)instr_ptr); + PrintDebug("Decoding Instruction at %p\n", (void *)instr_ptr); memset(instr, 0, sizeof(struct x86_instr)); @@ -102,7 +102,7 @@ int v3_decode(struct guest_info * core, addr_t instr_ptr, struct x86_instr * ins form = op_code_to_form((uint8_t *)(instr_ptr + length), &length); - V3_Print("\t decoded as (%s)\n", op_form_to_str(form)); + PrintDebug("\t decoded as (%s)\n", op_form_to_str(form)); if (form == INVALID_INSTR) { PrintError("Could not find instruction form (%x)\n", *(uint32_t *)(instr_ptr + length)); @@ -121,7 +121,9 @@ int v3_decode(struct guest_info * core, addr_t instr_ptr, struct x86_instr * ins instr->instr_length += length; +#ifdef CONFIG_DEBUG_DECODER v3_print_instr(instr); +#endif return 0; }