WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] using xm console command

On Sat, Nov 20, 2010 at 10:13:55AM +0530, Tino wrote:
>    When i removed serial = "pty" from one of the vms configuration file i get
>    the following error
> 
>     xenconsole: Could not read tty from store: No such file or directory
> 
>    My configuration file looks like the following
> 
>    name = "cent2"
>    uuid = "aa6731b5-8e15-3b48-3576-56a9537382ca"
>    maxmem = 1024
>    memory = 1024
>    vcpus = 2
>    builder = "hvm"
>    kernel = "/usr/lib/xen/boot/hvmloader"
>    boot = "c"
>    pae = 1
>    acpi = 1
>    apic = 1
>    localtime = 0
>    on_poweroff = "destroy"
>    on_reboot = "restart"
>    on_crash = "restart"
>    device_model = "/usr/lib64/xen/bin/qemu-dm"
>    sdl = 0
>    vnc = 1
>    vncunused = 1
>    keymap = "en-us"
>    disk = [ "file:/var/lib/xen/images/cent2.img,hda,w", ",hdc:cdrom,r" ]
>    vif = [
>    "ip=192.168.1.222,mac=00:16:36:57:98:1e,bridge=xenbr0,script=vif-bridge" ]
>    parallel = "none"
> 

Oh, it's HVM guest, then you need to some other stuff:
http://wiki.xen.org/xenwiki/XenCommonProblems

there's a chapter how to configure text/serial console for HVM guests.

-- Pasi


>    On Fri, Nov 19, 2010 at 10:21 PM, Pasi Kärkkäinen <[1]pasik@xxxxxx> wrote:
> 
>      On Fri, Nov 19, 2010 at 03:49:00PM +0530, Tino wrote:
>      >    Hello,
>      >
>      >    I am not able to attach to a domain's console using xm console
>      command, it
>      >    is getting stuck. But working fine
>      >    when accessing using tools like virt-manager. Anybody please tell
>      me what
>      >    causing this issue.
>      >
> 
>      Maybe your domU has vnc pvfb (graphical console) enabled..
>      -- Pasi
> 
> References
> 
>    Visible links
>    1. mailto:pasik@xxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>