boot-sector.h (981c9b88e674408a1579ca3aa8d42770e3b689de) | boot-sector.h (a2ce7dbd917a18408cf4bfd132578b46c2752a72) |
---|---|
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 14#ifndef TEST_BOOT_SECTOR_H 15#define TEST_BOOT_SECTOR_H 16 | 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 14#ifndef TEST_BOOT_SECTOR_H 15#define TEST_BOOT_SECTOR_H 16 |
17#include "libqtest.h" | 17#include "libqos/libqtest.h" |
18 19/* Create boot disk file. fname must be a suitable string for mkstemp() */ 20int boot_sector_init(char *fname); 21 22/* Loop until signature in memory is OK. */ 23void boot_sector_test(QTestState *qts); 24 25/* unlink boot disk file. */ 26void boot_sector_cleanup(const char *fname); 27 28#endif /* TEST_BOOT_SECTOR_H */ | 18 19/* Create boot disk file. fname must be a suitable string for mkstemp() */ 20int boot_sector_init(char *fname); 21 22/* Loop until signature in memory is OK. */ 23void boot_sector_test(QTestState *qts); 24 25/* unlink boot disk file. */ 26void boot_sector_cleanup(const char *fname); 27 28#endif /* TEST_BOOT_SECTOR_H */ |