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

Re: [libvirt] How to connect to the running VM



于 2011年07月29日 19:36, bala suru 写道:
Hi,
I have deployed some VM on to the KVM-qemu and installed libvirtd ..
 
I could see the VM running by command virsh list .
 
but how to login to the VMs other than SSH ..?

<snip>
i tried virsh vncdisplay , but no output ..
</snip>

This means you don't configure a "vnc" graphic for your guest. See

# virsh help vncdisplay

For what the command does.

Except the vnc method, you might want to use text console, do like
below will work:

   1. Add console=ttyS0,115200 to guest kernel line.
   2. Add the following XML section to a domain.

    <serial type='pty'>
        <target port='0'/>
    </serial>
    <console type='pty'>
        <target port='0'/>
    </console>

   3. # virsh start $domain
   4. # virsh console $domain

Osier

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