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/