]> git.proxmox.com Git - mirror_qemu.git/blame - tests/boot-sector.h
pseries: Enforce homogeneous threads-per-core
[mirror_qemu.git] / tests / boot-sector.h
CommitLineData
4e082566
VK
1/*
2 * QEMU boot sector testing helpers.
3 *
4 * Copyright (c) 2016 Red Hat Inc.
5 *
6 * Authors:
7 * Michael S. Tsirkin <mst@redhat.com>
8 * Victor Kaplansky <victork@redhat.com>
9 *
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.
12 */
13
2a6a4076
MA
14#ifndef TEST_BOOT_SECTOR_H
15#define TEST_BOOT_SECTOR_H
4e082566 16
3e353773
TH
17/* Create boot disk file. fname must be a suitable string for mkstemp() */
18int boot_sector_init(char *fname);
4e082566
VK
19
20/* Loop until signature in memory is OK. */
21void boot_sector_test(void);
22
23/* unlink boot disk file. */
24void boot_sector_cleanup(const char *fname);
25
2a6a4076 26#endif /* TEST_BOOT_SECTOR_H */