[Libvir] Trouble getting console

Spencer Parker inthefridge at gmail.com
Thu Mar 6 21:23:40 UTC 2008


I have setup a virtual machine, but am not able to connect to the 
console for it.  I type in virsh console <name> and it give me a new 
line with no output...I hit enter a few time to see it kicks in, but 
nothing.  here is my xml file:

<domain type='xen'>
   <name>test1</name>
   <uuid>4dea22b31d52d8f32516782e98ab3fa0</uuid>
  <os>
   <type>hvm</type>
     <loader>/usr/lib/xen/boot/hvmloader</loader>
     <boot dev='hd'/>
   </os>
   <memory>262144</memory>
   <vcpu>1</vcpu>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
  <features>
      <pae/>
      <acpi/>
      <apic/>
   </features>
<clock sync="localtime"/>
   <devices>
     <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
     <interface type='bridge'>
       <source bridge='xenbr1'/>
       <script path='vif-bridge'/>
     </interface>
     <disk type='file' device='disk'>
       <driver name='tap' type='aio'/>
       <source file='/xen/domains2/spencertest2/disk.img'/>
       <target dev='hda'/>
     </disk>
     <disk type='file' device='disk'>
       <driver name='tap' type='aio'/>
       <source file='/xen/domains2/spencertest2/swap.img'/>
       <target dev='hdb'/>
     </disk>
       <graphics type='vnc' port='-1'/>
       <console tty='/dev/pts/1'/>
</devices>
</domain>




More information about the libvir-list mailing list