-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathfeature.h
More file actions
41 lines (32 loc) · 827 Bytes
/
Copy pathfeature.h
File metadata and controls
41 lines (32 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
/* enable/disable (compile time) features in this header */
/* virtio-blk */
#ifndef SEMU_FEATURE_VIRTIOBLK
#define SEMU_FEATURE_VIRTIOBLK 1
#endif
/* virtio-net */
#ifndef SEMU_FEATURE_VIRTIONET
#define SEMU_FEATURE_VIRTIONET 1
#endif
/* virtio-snd */
#ifndef SEMU_FEATURE_VIRTIOSND
#define SEMU_FEATURE_VIRTIOSND 1
#endif
/* virtio-fs */
#ifndef SEMU_FEATURE_VIRTIOFS
#define SEMU_FEATURE_VIRTIOFS 1
#endif
/* virtio-input */
#ifndef SEMU_FEATURE_VIRTIOINPUT
#define SEMU_FEATURE_VIRTIOINPUT 1
#endif
/* external rootfs: kernel boots /dev/vda, no initramfs. Default off. */
#ifndef SEMU_FEATURE_EXTERNAL_ROOT
#define SEMU_FEATURE_EXTERNAL_ROOT 0
#endif
/* virtio-gpu */
#ifndef SEMU_FEATURE_VIRTIOGPU
#define SEMU_FEATURE_VIRTIOGPU 1
#endif
/* Feature test macro */
#define SEMU_HAS(x) SEMU_FEATURE_##x