aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'vconsole.c')
-rw-r--r--vconsole.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vconsole.c b/vconsole.c
index 79fe70f..bd28515 100644
--- a/vconsole.c
+++ b/vconsole.c
@@ -418,6 +418,10 @@ static void run_virsh_edit(struct vconsole_domain *dom)
}
argv[argc++] = app;
+ if (dom->name) {
+ argv[argc++] = "-title";
+ argv[argc++] = dom->name;
+ }
argv[argc++] = "-e";
argv[argc++] = "virsh";
argv[argc++] = "-c";