Re: virsh cannot list broken guest.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 29, 2011 at 2:08 PM, Magicloud Magiclouds
<magicloud.magiclouds@xxxxxxxxx> wrote:
> Hi,
>  I am starting to learn using libvirt with kvm on CentOS 6.
>  Just used this command to start a guest:
> virt-install -ntest -r1024 --vcpus=1
> -c/var/lib/libvirt/images/CentOS-6.0-x86_64-netinstall.iso
> --os-type=linux --os-variant=rhel6 --disk vol=kvmguests/test --vnc -v
> --virt-type=kvm --check-cpu --prompt --arch=x86_64
>  Then I found out that I misconfigured vnc. And I do not know how to
> gracefully stop qemu. So I killed it.
>  Then with the command, I got:
> ERROR    Guest name 'test' is already in use.
> What is the name of your virtual machine?
>  But at this time, there is nothing listed in virsh:
> Welcome to virsh, the virtualization interactive terminal.
>
> Type:  'help' for help with commands
>       'quit' to quit
>
> virsh # list
>  Id Name                 State
> ----------------------------------
>
> virsh # connect qemu:///system
>
> virsh # list
>  Id Name                 State
> ----------------------------------
>
> virsh #
>
>  What should I do?
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>

Seems like it is not only broken guests.
I just installed another one. And successful. But still, nothing
listed in virsh.

-- 
竹密岂妨流水过
山高哪阻野云飞


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux