cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

iothread.h (603B)


      1/*
      2 * Event loop thread implementation for unit tests
      3 *
      4 * Copyright Red Hat Inc., 2013, 2016
      5 *
      6 * Authors:
      7 *  Stefan Hajnoczi   <stefanha@redhat.com>
      8 *  Paolo Bonzini     <pbonzini@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#ifndef TEST_IOTHREAD_H
     14#define TEST_IOTHREAD_H
     15
     16#include "block/aio.h"
     17#include "qemu/thread.h"
     18
     19typedef struct IOThread IOThread;
     20
     21IOThread *iothread_new(void);
     22void iothread_join(IOThread *iothread);
     23AioContext *iothread_get_aio_context(IOThread *iothread);
     24
     25#endif