]> Git Repo - qemu.git/blob - include/ui/dbus-display.h
works with less than base ISA qemu-system-riscv32 -M virt -bios none -kernel output...
[qemu.git] / include / ui / dbus-display.h
1 #ifndef DBUS_DISPLAY_H
2 #define DBUS_DISPLAY_H
3
4 #include "qapi/error.h"
5 #include "ui/dbus-module.h"
6
7 static inline bool qemu_using_dbus_display(Error **errp)
8 {
9     if (!using_dbus_display) {
10         error_set(errp, ERROR_CLASS_DEVICE_NOT_ACTIVE,
11                   "D-Bus display is not in use");
12         return false;
13     }
14     return true;
15 }
16
17 #endif /* DBUS_DISPLAY_H */
This page took 0.021446 seconds and 4 git commands to generate.