[app-emulation/qemu-guest-agent] sync with tree
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- qemu-4.2.0/qga/commands-posix.c.orig 2020-03-23 11:15:05.972610989 +0300
|
||||
+++ qemu-4.2.0/qga/commands-posix.c 2020-03-23 11:15:39.676015087 +0300
|
||||
@@ -108,7 +108,7 @@
|
||||
reopen_fd_to_null(1);
|
||||
reopen_fd_to_null(2);
|
||||
|
||||
- execle("/sbin/shutdown", "shutdown", "-h", shutdown_flag, "+0",
|
||||
+ execle("/sbin/shutdown", "shutdown", "-h", "now", shutdown_flag, "+0",
|
||||
"hypervisor initiated shutdown", (char*)NULL, environ);
|
||||
_exit(EXIT_FAILURE);
|
||||
} else if (pid < 0) {
|
||||
@@ -4,8 +4,8 @@ Linux C libs are moving away from implicit header pollution with sys/types.h
|
||||
|
||||
--- a/include/qemu/osdep.h
|
||||
+++ b/include/qemu/osdep.h
|
||||
@@ -78,6 +78,10 @@ extern int daemon(int, int);
|
||||
#include <assert.h>
|
||||
@@ -118,6 +118,10 @@ extern int daemon(int, int);
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
|
||||
+#ifdef __linux__
|
||||
Reference in New Issue
Block a user