monitor: Use QEMU_CLOCK_VIRTUAL for the event queue in qtest mode
[qemu/rayw.git] / tests / boot-sector.h
blob38be0290e32cd77a1582a2b76d8ac1d6baecf969
1 /*
2 * QEMU boot sector testing helpers.
4 * Copyright (c) 2016 Red Hat Inc.
6 * Authors:
7 * Michael S. Tsirkin <mst@redhat.com>
8 * Victor Kaplansky <victork@redhat.com>
10 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11 * See the COPYING file in the top-level directory.
14 #ifndef TEST_BOOT_SECTOR
15 #define TEST_BOOT_SECTOR
17 /* Create boot disk file. */
18 int boot_sector_init(const char *fname);
20 /* Loop until signature in memory is OK. */
21 void boot_sector_test(void);
23 /* unlink boot disk file. */
24 void boot_sector_cleanup(const char *fname);
26 #endif /* TEST_BOOT_SECTOR */