qemush : nouveau dossier pour les sockets, sockets/monitors
This commit is contained in:
parent
e00d57ce54
commit
7e1fbdae54
3 changed files with 4 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -86,7 +86,7 @@ public_attach() {
|
|||
public_running() {
|
||||
cd || return
|
||||
echo "Running machines:"
|
||||
set -- $ls -t sockets "$@"
|
||||
set -- $ls -t sockets/monitors "$@"
|
||||
exec "$@"
|
||||
}
|
||||
|
||||
|
|
|
@ -18,11 +18,10 @@ case "$1" in
|
|||
extension=qcow2
|
||||
;;
|
||||
socket)
|
||||
basedir=sockets
|
||||
basedir=sockets/monitors
|
||||
;;
|
||||
spice)
|
||||
basedir=spice
|
||||
extension=sock
|
||||
basedir=sockets/spice
|
||||
;;
|
||||
*)
|
||||
false
|
||||
|
|
Loading…
Reference in a new issue