debug needed

This commit is contained in:
TonyChyi
2022-09-26 16:07:25 +08:00
parent bd0812cc42
commit 821c0cffb8
12 changed files with 148 additions and 171 deletions

View File

@@ -77,14 +77,10 @@ func makeControlCommand(t int) []qmp.Command {
}
func makeHMCommand(cmdTemplate string, args ...any) qmp.Command {
template := qmp.Command{
return qmp.Command{
Execute: "human-monitor-command",
Args: CommandLine{
Command: fmt.Sprintf(cmdTemplate, args...),
},
}
command := CommandLine{
Command: fmt.Sprintf(cmdTemplate, args...),
}
template.Args = command
return template
}

View File

@@ -1,7 +0,0 @@
package qemuconnection
import "github.com/sirupsen/logrus"
func init() {
logrus.Info("qemu client control events module loaded")
}