[prev in list] [next in list] [prev in thread] [next in thread]
List: libvirt-users
Subject: [libvirt-users] help about libvirt console
From: lei yang <yanglei.fage () gmail ! com>
Date: 2012-07-24 10:05:00
Message-ID: CAHsH0E_ZC70PH8qbkHHtyqH8Z=jDfW4DsbdB7nZY=R+JcD4jnw () mail ! gmail ! com
[Download RAW message or body]
Hi list,
My xml is like below, it works well with "virsh console qemu1"
<domain type='kvm'>
<name>qemu1</name>
<memory>1024000</memory>
<currentMemory>512000</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd' />
<kernel>/boot/bzImage</kernel>
<cmdline>console=ttyS0 root=/dev/hda rw</cmdline>
</os>
<devices>
<disk type='file' device='disk'>
<source file='/boot/test.img.raw' />
<target dev='hda' bus='ide' />
</disk>
<console type='pty'>
<target type='serial' port='0'/>
</console>
</devices>
</domain>
I want to use virtio console, so I change
<console type='pty'>
<target type='virtio' port='0'/>
then
I do
#virsh define newvm.xml
#virsh start qemu1
#virsh console qemu1
it show nothing
any help for the virtio console seting?
Lei
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic