summary refs log tree commit diff stats
path: root/results/classifier/105/socket/1567
blob: d96fcb4c182cef106a0aecd59a66f7f87ce8565d (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
36
37
38
39
40
41
42
43
44
45
46
47
socket: 0.870
instruction: 0.779
device: 0.685
vnc: 0.639
graphic: 0.573
network: 0.498
semantic: 0.398
mistranslation: 0.350
assembly: 0.303
boot: 0.188
other: 0.171
KVM: 0.142

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/