Xen 4.2.1 pv 和 hvm 如何使用 virsh console
17 Apr 2013在 Fedora 18 上使用 virsh console ID 一直停留在以下画面
virsh console centos1
连接到域 centos1
Escape character is ^]
1.domU 是 hvm (全虚)的情况好解决,在 domU grub.conf中加入红色部分就可以解决了 cat /boot/grub/grub.conf default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-358.el6.x8664) root (hd0,0) kernel /vmlinuz-2.6.32-358.el6.x8664 ro root=/dev/mapper/VolGroup-lvroot rdNOLUKS LANG=enUS.UTF-8 rdNOMD rdLVMLV=VolGroup/lvswap SYSFONT=latarcyrheb-sun16 crashkernel=auto rdLVMLV=VolGroup/lvroot KEYBOARDTYPE=pc KEYTABLE=us rdNODM rhgb quiet console=tty0 console=ttyS0,115200 initrd /initramfs-2.6.32-358.el6.x8664.img 2.domU 是 PV (paravirtual) 半虚的情况更简单,在 domU grub.conf中加入红色部分就可以解决了 cat /boot/grub/grub.conf default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-358.el6.x8664) root (hd0,0) kernel /vmlinuz-2.6.32-358.el6.x8664 ro root=/dev/mapper/VolGroup-lvroot rdNOLUKS LANG=enUS.UTF-8 rdNOMD rdLVMLV=VolGroup/lvswap SYSFONT=latarcyrheb-sun16 crashkernel=auto rdLVMLV=VolGroup/lvroot KEYBOARDTYPE=pc KEYTABLE=us rdNODM rhgb quiet console=hvc0 initrd /initramfs-2.6.32-358.el6.x8664.img 当然还有其它情况。
参考 1.