Signed-off-by: Avi Kivity <[email protected]>
---
kvm/user/test/x86/access.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/kvm/user/test/x86/access.c b/kvm/user/test/x86/access.c
index 5eadff8..dbc1213 100644
--- a/kvm/user/test/x86/access.c
+++ b/kvm/user/test/x86/access.c
@@ -557,9 +557,8 @@ int ac_test_do_access(ac_test_t *at)
return 1;
}
-int ac_test_exec(ac_test_t *at)
+static void ac_test_show(ac_test_t *at)
{
- int r;
char line[5000];
*line = 0;
@@ -571,6 +570,13 @@ int ac_test_exec(ac_test_t *at)
}
strcat(line, ": ");
printf("%s", line);
+}
+
+int ac_test_exec(ac_test_t *at)
+{
+ int r;
+
+ ac_test_show(at);
ac_test_setup_pte(at);
r = ac_test_do_access(at);
return r;
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html