Commit d637cb11 authored by Andrew Jones's avatar Andrew Jones Committed by Paolo Bonzini
Browse files

report already adds a newline


Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 63021680
......@@ -58,7 +58,7 @@ static void test_spinlock(void)
lock_ops.unlock(&global_lock);
}
report("CPU%d: Done - Errors: %d\n", errors == 0, cpu, errors);
report("CPU%d: Done - Errors: %d", errors == 0, cpu, errors);
cpumask_set_cpu(cpu, &smp_test_complete);
if (cpu != 0)
......
......@@ -52,13 +52,13 @@ static void pf_isr(struct ex_regs *r)
switch (reason) {
case 0:
report("unexpected #PF at %p\n", false, read_cr2());
report("unexpected #PF at %p", false, read_cr2());
break;
case KVM_PV_REASON_PAGE_NOT_PRESENT:
phys = virt_to_phys_cr3(virt);
install_pte(phys_to_virt(read_cr3()), 1, virt, phys, 0);
write_cr3(read_cr3());
report("Got not present #PF token %x virt addr %p phys addr %p\n",
report("Got not present #PF token %x virt addr %p phys addr %p",
true, read_cr2(), virt, phys);
while(phys) {
safe_halt(); /* enables irq */
......@@ -66,7 +66,7 @@ static void pf_isr(struct ex_regs *r)
}
break;
case KVM_PV_REASON_PAGE_READY:
report("Got present #PF token %x\n", true, read_cr2());
report("Got present #PF token %x", true, read_cr2());
if ((uint32_t)read_cr2() == ~0)
break;
install_pte(phys_to_virt(read_cr3()), 1, virt, phys | PT_PRESENT_MASK | PT_WRITABLE_MASK, 0);
......@@ -74,7 +74,7 @@ static void pf_isr(struct ex_regs *r)
phys = 0;
break;
default:
report("unexpected async pf reason %d\n", false, reason);
report("unexpected async pf reason %d", false, reason);
break;
}
}
......
......@@ -603,7 +603,7 @@ static void test_ioio(struct test *test)
return;
fail:
report("stage %d\n", false, get_test_stage(test));
report("stage %d", false, get_test_stage(test));
test->scratch = -1;
}
......@@ -678,7 +678,7 @@ static void sel_cr0_bug_test(struct test *test)
* are not in guest-mode anymore so we can't trigger an intercept.
* Trigger a tripple-fault for now.
*/
report("sel_cr0 test. Can not recover from this - exiting\n", false);
report("sel_cr0 test. Can not recover from this - exiting", false);
exit(report_summary());
}
......
......@@ -1098,7 +1098,7 @@ static int ept_exit_handler()
(unsigned long)data_page2,
EPT_RA | EPT_WA | EPT_EA);
} else
report("EPT basic framework - write\n", 0);
report("EPT basic framework - write", 0);
break;
case 1:
install_ept(pml4, (unsigned long)data_page1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment