adevs
|
#include <adevs_qemu.h>
Public Member Functions | |
QemuNic (std::string mac_addr="") | |
void | append_qemu_arguments (std::vector< std::string > &args) |
![]() | |
int | num_bytes_to_read () |
void | read_bytes (void *buf) |
void | write_bytes (void *data, int num_bytes) |
void | read_loop () |
void | write_loop () |
void | init_func () |
Protected Member Functions | |
void | write (void *data, int num_bytes) |
io_buffer * | read () |
void | initialize_io_structures () |
![]() | |
void | start () |
Additional Inherited Members | |
![]() | |
volatile bool | _is_done_with_init |
A model of a network interface card. This will connect to a QEMU network card emulator via the file descriptor provided by get_qemu_fd().
|
virtual |
Arguments to be appended to the qemu argument vector when qemu is forked to simulate the computer.
Implements adevs::QemuDeviceModel.