blob: c4415411a6a6f02ecb291905c3c212e0bd3f8d6d (
plain) (
blame)
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
|
On windows, storage daemon does not support daemonize
Description of problem:
Presently, in order to run qemu-storage-daemon on windows, one has to login and run it in a terminal window that is kept open.
#
Steps to reproduce:
just run the command
Additional information:
https://gitlab.com/qemu-project/qemu/-/blob/master/storage-daemon/qemu-storage-daemon.c#L299
```
case OPTION_DAEMONIZE:
if (os_set_daemonize(true) < 0) {
/*
* --daemonize is parsed before monitor_init_globals(), so
* error_report() does not work yet
*/
fprintf(stderr, "--daemonize not supported in this build\n");
exit(EXIT_FAILURE);
}
```
https://gitlab.com/qemu-project/qemu/-/blob/master/include/sysemu/os-win32.h#L114
```
static inline int os_set_daemonize(bool d)
{
if (d) {
return -ENOTSUP;
}
return 0;
}
```
- Recently Marc has added windows socket support
20230313 marcandre.lureau [PULL 00/25] Win socket patches
https://lore.kernel.org/qemu-devel/20230313114335.424093-1-marcandre.lureau@redhat.com/
|