summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1567.toml
blob: ba51f165db04966eba36cfb14229ba1a1cb00073 (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
id = 1567
title = "On windows, storage daemon does not support daemonize"
state = "opened"
created_at = "2023-03-29T10:55:52.303Z"
closed_at = "n/a"
labels = ["Storage", "hostos: Windows"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1567"
host-os = "Windows 10/11"
host-arch = "x86_64"
qemu-version = "``qemu-storage-daemon version 7.2.0 (v7.2.0-11948-ge6523b71fc-dirty)``"
guest-os = "n/a"
guest-arch = "n/a"
description = """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.

#"""
reproduce = """just run the command"""
additional = """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/"""