[PATCH kvm-unit-tests 13/13] x86: access: print progress even in non-verbose mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/access.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x86/access.c b/x86/access.c
index c139ca5..5cc8057 100644
--- a/x86/access.c
+++ b/x86/access.c
@@ -591,6 +591,7 @@ static void ac_test_check(ac_test_t *at, _Bool *success_ret, _Bool cond,
     *success_ret = false;
 
     if (!verbose) {
+        puts("\n");
         ac_test_show(at);
     }
 
@@ -619,6 +620,9 @@ int ac_test_do_access(ac_test_t *at)
     int flags = at->flags;
 
     ++unique;
+    if (!(unique & 65535)) {
+        puts(".");
+    }
 
     *((unsigned char *)at->phys) = 0xc3; /* ret */
 
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux