How do I set up a guest so that the virsh and xm console commands work for my KVM or Xen guests on RHEL?
Issue
- You may find that the
virsh console
orxm console
commands do not run from the Red Hat Enterprise Linux hypervisor. You need to set up the guest system properly to make sure these console commands work for virtual guests. - how to open VM from server command line
Environment
- Red Hat Enterprise Linux (RHEL) 6 virtualization host with KVM virtualization
- Red Hat Enterprise Linux 5 virtualization host with Xen or KVM virtualization
- RHEL4, RHEL5, or RHEL6 virtualization guest
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.