qemush : nouveau dossier pour les sockets, sockets/monitors

This commit is contained in:
Ahurac 2024-03-08 23:45:51 +01:00
parent e00d57ce54
commit 7e1fbdae54
3 changed files with 4 additions and 5 deletions

View file

@ -40,7 +40,7 @@ SRC_C_SOURCES_NAMES := $(notdir $(basename $(wildcard $(SRCD)/*$(SRC_FMT))))
C_BINARIES := $(addprefix $(QEMU_BIN)/,$(SRC_C_SOURCES_NAMES))
# Directories in ~qemu necessary for qemush to work
QEMUSH_DIRS_NAMES := bin launchers disks sockets
QEMUSH_DIRS_NAMES := bin launchers disks sockets/monitors sockets/spice
QEMUSH_DIRS := $(addprefix $(QEMU_HOME)/,$(QEMUSH_DIRS_NAMES))
install: $(QEMUSH_DIRS) $(MODULES) $(C_BINARIES) $(QEMUSH) $(LAUNCHERS)

View file

@ -86,7 +86,7 @@ public_attach() {
public_running() {
cd || return
echo "Running machines:"
set -- $ls -t sockets "$@"
set -- $ls -t sockets/monitors "$@"
exec "$@"
}

View file

@ -18,11 +18,10 @@ case "$1" in
extension=qcow2
;;
socket)
basedir=sockets
basedir=sockets/monitors
;;
spice)
basedir=spice
extension=sock
basedir=sockets/spice
;;
*)
false