From ab4f705751c39d59e5039a145cf4703320e4207e Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 17 Sep 2015 14:17:04 -0400 Subject: qtest/ahci: export generate_pattern Share the pattern function for ide and ahci test. Signed-off-by: John Snow Message-id: 1441926555-19471-3-git-send-email-jsnow@redhat.com --- tests/libqos/libqos.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libqos/libqos.h') diff --git a/tests/libqos/libqos.h b/tests/libqos/libqos.h index e1f14ea6fb..492a651f5b 100644 --- a/tests/libqos/libqos.h +++ b/tests/libqos/libqos.h @@ -24,6 +24,7 @@ void mkqcow2(const char *file, unsigned size_mb); void set_context(QOSState *s); void migrate(QOSState *from, QOSState *to, const char *uri); void prepare_blkdebug_script(const char *debug_fn, const char *event); +void generate_pattern(void *buffer, size_t len, size_t cycle_len); static inline uint64_t qmalloc(QOSState *q, size_t bytes) { -- cgit v1.2.3-55-g7522