mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 02:34:00 +00:00
[host] service: introduce fatal errors for ivshmem failures
Also for failure to parse command line. For these errors, restarting with exponential backoff will not help: no amount of restarting the service could possibly make the ivshmem device exist or larger, so we shouldn't try.
This commit is contained in:
@@ -29,6 +29,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#define LG_HOST_EXIT_KILLED 0x30
|
||||
// exit code for failed to start
|
||||
#define LG_HOST_EXIT_FAILED 0x40
|
||||
// exit code for failed to start, and no amount of restarting could help
|
||||
#define LG_HOST_EXIT_FATAL 0x50
|
||||
|
||||
int app_main(int argc, char * argv[]);
|
||||
bool app_init();
|
||||
|
Reference in New Issue
Block a user