qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

all: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org

+65 -100
+1
accel.c
··· 23 23 * THE SOFTWARE. 24 24 */ 25 25 26 + #include "qemu/osdep.h" 26 27 #include "sysemu/accel.h" 27 28 #include "hw/boards.h" 28 29 #include "qemu-common.h"
+1
aio-posix.c
··· 13 13 * GNU GPL, version 2 or (at your option) any later version. 14 14 */ 15 15 16 + #include "qemu/osdep.h" 16 17 #include "qemu-common.h" 17 18 #include "block/block.h" 18 19 #include "qemu/queue.h"
+1
aio-win32.c
··· 15 15 * GNU GPL, version 2 or (at your option) any later version. 16 16 */ 17 17 18 + #include "qemu/osdep.h" 18 19 #include "qemu-common.h" 19 20 #include "block/block.h" 20 21 #include "qemu/queue.h"
+1 -1
arch_init.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 - #include <stdint.h> 24 + #include "qemu/osdep.h" 25 25 #include "sysemu/sysemu.h" 26 26 #include "sysemu/arch_init.h" 27 27 #include "hw/pci/pci.h"
+1
async.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "qemu-common.h" 26 27 #include "block/aio.h" 27 28 #include "block/thread-pool.h"
+1
balloon.c
··· 24 24 * THE SOFTWARE. 25 25 */ 26 26 27 + #include "qemu/osdep.h" 27 28 #include "qemu-common.h" 28 29 #include "exec/cpu-common.h" 29 30 #include "sysemu/kvm.h"
+1 -3
block.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 - #include "config-host.h" 24 + #include "qemu/osdep.h" 25 25 #include "qemu-common.h" 26 26 #include "trace.h" 27 27 #include "block/block_int.h" ··· 42 42 #include "block/throttle-groups.h" 43 43 44 44 #ifdef CONFIG_BSD 45 - #include <sys/types.h> 46 - #include <sys/stat.h> 47 45 #include <sys/ioctl.h> 48 46 #include <sys/queue.h> 49 47 #ifndef __DragonFly__
+1
blockdev-nbd.c
··· 9 9 * later. See the COPYING file in the top-level directory. 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "sysemu/blockdev.h" 13 14 #include "sysemu/block-backend.h" 14 15 #include "hw/block/block.h"
+1
blockdev.c
··· 30 30 * THE SOFTWARE. 31 31 */ 32 32 33 + #include "qemu/osdep.h" 33 34 #include "sysemu/block-backend.h" 34 35 #include "sysemu/blockdev.h" 35 36 #include "hw/block/block.h"
+1 -1
blockjob.c
··· 23 23 * THE SOFTWARE. 24 24 */ 25 25 26 - #include "config-host.h" 26 + #include "qemu/osdep.h" 27 27 #include "qemu-common.h" 28 28 #include "trace.h" 29 29 #include "block/block.h"
+1
bootdevice.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "sysemu/sysemu.h" 26 27 #include "qapi/visitor.h" 27 28 #include "qemu/error-report.h"
+1 -1
bt-host.c
··· 17 17 * with this program; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include "qemu/osdep.h" 20 21 #include "qemu-common.h" 21 22 #include "sysemu/bt.h" 22 23 #include "qemu/main-loop.h" 23 24 24 25 #ifndef _WIN32 25 - # include <errno.h> 26 26 # include <sys/ioctl.h> 27 27 # include <sys/uio.h> 28 28 # ifdef CONFIG_BLUEZ
+1
bt-vhci.c
··· 17 17 * with this program; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include "qemu/osdep.h" 20 21 #include "qemu-common.h" 21 22 #include "sysemu/bt.h" 22 23 #include "hw/bt.h"
+1
device-hotplug.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "hw/hw.h" 26 27 #include "hw/boards.h" 27 28 #include "sysemu/block-backend.h"
+1 -6
device_tree.c
··· 11 11 * 12 12 */ 13 13 14 - #include <stdio.h> 15 - #include <sys/types.h> 16 - #include <sys/stat.h> 17 - #include <fcntl.h> 18 - #include <unistd.h> 19 - #include <stdlib.h> 14 + #include "qemu/osdep.h" 20 15 21 16 #include "qemu-common.h" 22 17 #include "qemu/error-report.h"
+1 -2
disas.c
··· 1 1 /* General "disassemble this chunk" code. Used for debugging. */ 2 - #include "config.h" 2 + #include "qemu/osdep.h" 3 3 #include "qemu-common.h" 4 4 #include "disas/bfd.h" 5 5 #include "elf.h" 6 - #include <errno.h> 7 6 8 7 #include "cpu.h" 9 8 #include "disas/disas.h"
+1
dma-helpers.c
··· 7 7 * (GNU GPL), version 2 or later. 8 8 */ 9 9 10 + #include "qemu/osdep.h" 10 11 #include "sysemu/block-backend.h" 11 12 #include "sysemu/dma.h" 12 13 #include "trace.h"
+1 -1
dump.c
··· 11 11 * 12 12 */ 13 13 14 + #include "qemu/osdep.h" 14 15 #include "qemu-common.h" 15 16 #include "elf.h" 16 17 #include "cpu.h" ··· 22 23 #include "sysemu/sysemu.h" 23 24 #include "sysemu/memory_mapping.h" 24 25 #include "sysemu/cpus.h" 25 - #include "qapi/error.h" 26 26 #include "qapi/qmp/qerror.h" 27 27 #include "qmp-commands.h" 28 28
+1 -2
fpu/softfloat.c
··· 82 82 /* softfloat (and in particular the code in softfloat-specialize.h) is 83 83 * target-dependent and needs the TARGET_* macros. 84 84 */ 85 - #include "config.h" 85 + #include "qemu/osdep.h" 86 86 87 87 #include "fpu/softfloat.h" 88 88 89 89 /* We only need stdlib for abort() */ 90 - #include <stdlib.h> 91 90 92 91 /*---------------------------------------------------------------------------- 93 92 | Primitive arithmetic functions, including multi-word arithmetic, and
+1 -8
gdbstub.c
··· 16 16 * You should have received a copy of the GNU Lesser General Public 17 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 - #include "config.h" 19 + #include "qemu/osdep.h" 20 20 #include "qemu-common.h" 21 21 #ifdef CONFIG_USER_ONLY 22 - #include <stdlib.h> 23 - #include <stdio.h> 24 - #include <stdarg.h> 25 - #include <string.h> 26 - #include <errno.h> 27 - #include <unistd.h> 28 - #include <fcntl.h> 29 22 30 23 #include "qemu.h" 31 24 #else
+1
hmp.c
··· 13 13 * GNU GPL, version 2 or (at your option) any later version. 14 14 */ 15 15 16 + #include "qemu/osdep.h" 16 17 #include "hmp.h" 17 18 #include "net/net.h" 18 19 #include "net/eth.h"
+1 -1
iohandler.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 - #include "config-host.h" 25 + #include "qemu/osdep.h" 26 26 #include "qemu-common.h" 27 27 #include "qemu/queue.h" 28 28 #include "block/aio.h"
+1
ioport.c
··· 25 25 * splitted out ioport related stuffs from vl.c. 26 26 */ 27 27 28 + #include "qemu/osdep.h" 28 29 #include "exec/ioport.h" 29 30 #include "trace.h" 30 31 #include "exec/memory.h"
+1
iothread.c
··· 11 11 * 12 12 */ 13 13 14 + #include "qemu/osdep.h" 14 15 #include "qom/object.h" 15 16 #include "qom/object_interfaces.h" 16 17 #include "qemu/module.h"
+1 -2
kvm-all.c
··· 13 13 * 14 14 */ 15 15 16 - #include <sys/types.h> 16 + #include "qemu/osdep.h" 17 17 #include <sys/ioctl.h> 18 18 #include <sys/mman.h> 19 - #include <stdarg.h> 20 19 21 20 #include <linux/kvm.h> 22 21
+1
kvm-stub.c
··· 10 10 * 11 11 */ 12 12 13 + #include "qemu/osdep.h" 13 14 #include "qemu-common.h" 14 15 #include "hw/hw.h" 15 16 #include "cpu.h"
+1
main-loop.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "qemu-common.h" 26 27 #include "qemu/timer.h" 27 28 #include "qemu/sockets.h" // struct in_addr needed for libslirp.h
+1 -1
memory.c
··· 13 13 * GNU GPL, version 2 or (at your option) any later version. 14 14 */ 15 15 16 + #include "qemu/osdep.h" 16 17 #include "exec/memory.h" 17 18 #include "exec/address-spaces.h" 18 19 #include "exec/ioport.h" ··· 21 22 #include "qemu/error-report.h" 22 23 #include "qom/object.h" 23 24 #include "trace.h" 24 - #include <assert.h> 25 25 26 26 #include "exec/memory-internal.h" 27 27 #include "exec/ram_addr.h"
+1
memory_mapping.c
··· 11 11 * 12 12 */ 13 13 14 + #include "qemu/osdep.h" 14 15 #include <glib.h> 15 16 16 17 #include "qemu-common.h"
+1 -1
module-common.c
··· 1 - #include "config-host.h" 1 + #include "qemu/osdep.h" 2 2 #include "qemu/module.h" 3 3 4 4 void qemu_module_dummy(void)
+1 -1
monitor.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 + #include "qemu/osdep.h" 24 25 #include <dirent.h> 25 26 #include "hw/hw.h" 26 27 #include "monitor/qdev.h" ··· 59 60 #include "qapi/qmp/json-streamer.h" 60 61 #include "qapi/qmp/json-parser.h" 61 62 #include <qom/object_interfaces.h> 62 - #include "qemu/osdep.h" 63 63 #include "cpu.h" 64 64 #include "trace.h" 65 65 #include "trace/control.h"
+1
nbd/client.c
··· 16 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 18 19 + #include "qemu/osdep.h" 19 20 #include "nbd-internal.h" 20 21 21 22 static int nbd_errno_to_system_errno(int err)
+1
nbd/common.c
··· 16 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 18 19 + #include "qemu/osdep.h" 19 20 #include "nbd-internal.h" 20 21 21 22 ssize_t nbd_wr_sync(int fd, void *buffer, size_t size, bool do_read)
+1
nbd/server.c
··· 16 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 18 19 + #include "qemu/osdep.h" 19 20 #include "nbd-internal.h" 20 21 21 22 static int system_errno_to_nbd_errno(int err)
+1
numa.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "sysemu/numa.h" 26 27 #include "exec/cpu-common.h" 27 28 #include "qemu/bitmap.h"
+1 -5
os-posix.c
··· 23 23 * THE SOFTWARE. 24 24 */ 25 25 26 - #include <unistd.h> 27 - #include <fcntl.h> 28 - #include <signal.h> 29 - #include <sys/types.h> 26 + #include "qemu/osdep.h" 30 27 #include <sys/wait.h> 31 28 /*needed for MAP_POPULATE before including qemu-options.h */ 32 29 #include <sys/mman.h> ··· 35 32 #include <libgen.h> 36 33 37 34 /* Needed early for CONFIG_BSD etc. */ 38 - #include "config-host.h" 39 35 #include "sysemu/sysemu.h" 40 36 #include "net/slirp.h" 41 37 #include "qemu-options.h"
+1 -6
os-win32.c
··· 22 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 23 * THE SOFTWARE. 24 24 */ 25 + #include "qemu/osdep.h" 25 26 #include <windows.h> 26 27 #include <mmsystem.h> 27 - #include <unistd.h> 28 - #include <fcntl.h> 29 - #include <time.h> 30 - #include <errno.h> 31 - #include <sys/time.h> 32 - #include "config-host.h" 33 28 #include "sysemu/sysemu.h" 34 29 #include "qemu-options.h" 35 30
+1 -7
page_cache.c
··· 12 12 * 13 13 */ 14 14 15 - #include <stdint.h> 16 - #include <stdio.h> 17 - #include <stdlib.h> 18 - #include <string.h> 19 - #include <sys/time.h> 20 - #include <sys/types.h> 21 - #include <stdbool.h> 15 + #include "qemu/osdep.h" 22 16 #include <glib.h> 23 17 24 18 #include "qemu-common.h"
+1
qdev-monitor.c
··· 17 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include "qemu/osdep.h" 20 21 #include "hw/qdev.h" 21 22 #include "hw/sysbus.h" 22 23 #include "monitor/monitor.h"
+1 -10
qemu-bridge-helper.c
··· 13 13 * 14 14 */ 15 15 16 - #include "config-host.h" 16 + #include "qemu/osdep.h" 17 17 18 - #include <stdio.h> 19 - #include <errno.h> 20 - #include <fcntl.h> 21 - #include <unistd.h> 22 - #include <string.h> 23 - #include <stdlib.h> 24 - #include <stdbool.h> 25 - #include <ctype.h> 26 18 #include <glib.h> 27 19 28 - #include <sys/types.h> 29 20 #include <sys/ioctl.h> 30 21 #include <sys/socket.h> 31 22 #include <sys/un.h>
+1 -7
qemu-char.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 + #include "qemu/osdep.h" 24 25 #include "qemu-common.h" 25 26 #include "monitor/monitor.h" 26 27 #include "sysemu/sysemu.h" ··· 37 38 #include "io/channel-file.h" 38 39 #include "io/channel-tls.h" 39 40 40 - #include <unistd.h> 41 - #include <fcntl.h> 42 - #include <time.h> 43 - #include <errno.h> 44 - #include <sys/time.h> 45 41 #include <zlib.h> 46 42 47 43 #ifndef _WIN32 ··· 58 54 #include <netdb.h> 59 55 #include <sys/select.h> 60 56 #ifdef CONFIG_BSD 61 - #include <sys/stat.h> 62 57 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) 63 58 #include <dev/ppbus/ppi.h> 64 59 #include <dev/ppbus/ppbconf.h> ··· 72 67 #include <linux/parport.h> 73 68 #endif 74 69 #ifdef __sun__ 75 - #include <sys/stat.h> 76 70 #include <sys/ethernet.h> 77 71 #include <sys/sockio.h> 78 72 #include <netinet/arp.h>
+1 -4
qemu-nbd.c
··· 16 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 17 */ 18 18 19 + #include "qemu/osdep.h" 19 20 #include "qemu-common.h" 20 21 #include "sysemu/block-backend.h" 21 22 #include "block/block_int.h" ··· 27 28 #include "qapi/util.h" 28 29 #include "qapi/qmp/qstring.h" 29 30 30 - #include <stdarg.h> 31 - #include <stdio.h> 32 31 #include <getopt.h> 33 - #include <sys/types.h> 34 32 #include <sys/socket.h> 35 33 #include <netinet/in.h> 36 34 #include <netinet/tcp.h> 37 35 #include <arpa/inet.h> 38 - #include <signal.h> 39 36 #include <libgen.h> 40 37 #include <pthread.h> 41 38
+1 -1
qemu-seccomp.c
··· 12 12 * Contributions after 2012-01-13 are licensed under the terms of the 13 13 * GNU GPL, version 2 or (at your option) any later version. 14 14 */ 15 - #include <stdio.h> 15 + #include "qemu/osdep.h" 16 16 #include <seccomp.h> 17 17 #include "sysemu/seccomp.h" 18 18
+1
qemu-timer.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 + #include "qemu/osdep.h" 25 26 #include "qemu/main-loop.h" 26 27 #include "qemu/timer.h" 27 28 #include "sysemu/replay.h"
+1 -1
qjson.c
··· 11 11 * 12 12 */ 13 13 14 + #include "qemu/osdep.h" 14 15 #include <qapi/qmp/qstring.h> 15 - #include <stdbool.h> 16 16 #include <glib.h> 17 17 #include <qjson.h> 18 18 #include <qemu/module.h>
+1
qmp.c
··· 13 13 * GNU GPL, version 2 or (at your option) any later version. 14 14 */ 15 15 16 + #include "qemu/osdep.h" 16 17 #include "qemu-common.h" 17 18 #include "monitor/monitor.h" 18 19 #include "sysemu/sysemu.h"
+1
qtest.c
··· 11 11 * 12 12 */ 13 13 14 + #include "qemu/osdep.h" 14 15 #include "sysemu/qtest.h" 15 16 #include "hw/qdev.h" 16 17 #include "sysemu/char.h"
+1
replay/replay-events.c
··· 9 9 * 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "qemu-common.h" 13 14 #include "qemu/error-report.h" 14 15 #include "sysemu/replay.h"
+1
replay/replay-input.c
··· 9 9 * 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "qemu-common.h" 13 14 #include "sysemu/replay.h" 14 15 #include "replay-internal.h"
+1
replay/replay-internal.c
··· 9 9 * 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "qemu-common.h" 13 14 #include "sysemu/replay.h" 14 15 #include "replay-internal.h"
+1
replay/replay-time.c
··· 9 9 * 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "qemu-common.h" 13 14 #include "sysemu/replay.h" 14 15 #include "replay-internal.h"
+1
replay/replay.c
··· 9 9 * 10 10 */ 11 11 12 + #include "qemu/osdep.h" 12 13 #include "qemu-common.h" 13 14 #include "sysemu/replay.h" 14 15 #include "replay-internal.h"
+1 -2
spice-qemu-char.c
··· 1 - #include "config-host.h" 1 + #include "qemu/osdep.h" 2 2 #include "trace.h" 3 3 #include "ui/qemu-spice.h" 4 4 #include "sysemu/char.h" 5 5 #include <spice.h> 6 6 #include <spice/protocol.h> 7 7 8 - #include "qemu/osdep.h" 9 8 10 9 typedef struct SpiceCharDriver { 11 10 CharDriverState* chr;
+1 -1
tcg-runtime.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 - #include <stdint.h> 24 + #include "qemu/osdep.h" 25 25 #include "qemu/host-utils.h" 26 26 27 27 /* This file is compiled once, and thus we can't include the standard
+1 -1
tci.c
··· 17 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - #include "config.h" 20 + #include "qemu/osdep.h" 21 21 22 22 /* Defining NDEBUG disables assertions (which makes the code faster). */ 23 23 #if !defined(CONFIG_DEBUG_TCG) && !defined(NDEBUG)
+1 -1
thread-pool.c
··· 14 14 * Contributions after 2012-01-13 are licensed under the terms of the 15 15 * GNU GPL, version 2 or (at your option) any later version. 16 16 */ 17 + #include "qemu/osdep.h" 17 18 #include "qemu-common.h" 18 19 #include "qemu/queue.h" 19 20 #include "qemu/thread.h" 20 - #include "qemu/osdep.h" 21 21 #include "qemu/coroutine.h" 22 22 #include "trace.h" 23 23 #include "block/thread-pool.h"
+1 -3
thunk.c
··· 16 16 * You should have received a copy of the GNU Lesser General Public 17 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 - #include <stdlib.h> 20 - #include <stdio.h> 21 - #include <stdarg.h> 19 + #include "qemu/osdep.h" 22 20 23 21 #include "qemu.h" 24 22 #include "exec/user/thunk.h"
+1 -1
tpm.c
··· 11 11 * 12 12 * Based on net.c 13 13 */ 14 - #include "config-host.h" 14 + #include "qemu/osdep.h" 15 15 16 16 #include "qapi/qmp/qerror.h" 17 17 #include "sysemu/tpm_backend.h"
+1
trace/control.c
··· 7 7 * See the COPYING file in the top-level directory. 8 8 */ 9 9 10 + #include "qemu/osdep.h" 10 11 #include "trace/control.h" 11 12 #ifdef CONFIG_TRACE_SIMPLE 12 13 #include "trace/simple.h"
+1 -4
trace/ftrace.c
··· 9 9 * 10 10 */ 11 11 12 - #include <stdio.h> 13 - #include <string.h> 14 - #include <fcntl.h> 15 - #include <limits.h> 12 + #include "qemu/osdep.h" 16 13 #include "trace.h" 17 14 #include "trace/control.h" 18 15
+1
trace/qmp.c
··· 7 7 * See the COPYING file in the top-level directory. 8 8 */ 9 9 10 + #include "qemu/osdep.h" 10 11 #include "qemu/typedefs.h" 11 12 #include "qmp-commands.h" 12 13 #include "trace/control.h"
+1 -5
trace/simple.c
··· 8 8 * 9 9 */ 10 10 11 - #include <stdlib.h> 12 - #include <stdint.h> 13 - #include <stdio.h> 14 - #include <time.h> 11 + #include "qemu/osdep.h" 15 12 #ifndef _WIN32 16 - #include <signal.h> 17 13 #include <pthread.h> 18 14 #endif 19 15 #include "qemu/timer.h"
+1 -2
user-exec.c
··· 16 16 * You should have received a copy of the GNU Lesser General Public 17 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 - #include "config.h" 19 + #include "qemu/osdep.h" 20 20 #include "cpu.h" 21 21 #include "disas/disas.h" 22 22 #include "tcg.h" ··· 33 33 #undef ESI 34 34 #undef EDI 35 35 #undef EIP 36 - #include <signal.h> 37 36 #ifdef __linux__ 38 37 #include <sys/ucontext.h> 39 38 #endif
+1
util/log.c
··· 17 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include "qemu/osdep.h" 20 21 #include "qemu-common.h" 21 22 #include "qemu/log.h" 22 23 #include "trace/control.h"
+1 -8
vl.c
··· 21 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 22 * THE SOFTWARE. 23 23 */ 24 - #include <unistd.h> 25 - #include <fcntl.h> 26 - #include <signal.h> 27 - #include <time.h> 28 - #include <errno.h> 29 - #include <sys/time.h> 24 + #include "qemu/osdep.h" 30 25 31 - #include "config-host.h" 32 26 33 27 #ifdef CONFIG_SECCOMP 34 28 #include "sysemu/seccomp.h" ··· 113 107 #include "qemu/queue.h" 114 108 #include "sysemu/cpus.h" 115 109 #include "sysemu/arch_init.h" 116 - #include "qemu/osdep.h" 117 110 118 111 #include "ui/qemu-spice.h" 119 112 #include "qapi/string-input-visitor.h"