mirror of https://gitee.com/openkylin/libvirt.git
c7a8e1bf74
The 'virsh console' command did not check if the domain was already running before attempting to fetch the XML and extract the console PTY path. This caused a slightly unhelpful / misleading error message for the user. The explicit check ensures the user gets an explicit 'domain is not running' message. * tools/virsh.c: Validate that state != VIR_DOMAIN_SHUTOFF in virsh console command |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
console.c | ||
console.h | ||
libvirt_win_icon_16x16.ico | ||
libvirt_win_icon_32x32.ico | ||
libvirt_win_icon_48x48.ico | ||
libvirt_win_icon_64x64.ico | ||
virsh.c | ||
virsh.pod | ||
virsh_win_icon.rc | ||
virt-pki-validate.in | ||
virt-xml-validate.in |