Howdy!<br /><br />      I am setting up server guests on hardy using
KVM/libvirt<br />and every thing works fine, except when I try to
configure<br />serial consoles on virtual machines <br /><br /><br
/>according to<br /><br
/> http://libvirt.org/formatdomain.html#elementsCharPTY<br /><br /><p>
      A Pseudo TTY is allocated using /dev/ptmx. A suitable client
      such as 'virsh console' can connect to interact with the
      serial port locally.
    </p>
              <pre><serial type="pty"><br />       
<source path="/dev/pts/3"/><br />       
<target port="1"/><br />     
</serial><br /><console type="pty"><br
/>      <source path="/dev/pts/3"/><br />   
    <target port="1"/><br />     
</console><br /><br />   when I add the above to the
<devices> section<br />of a valid working xml file and
do<br /><br />virsh define virt1.xml<br /><br />It returns
an aknowledgment that the domain<br />has been defined but
the above additions have been<br />removed as shown by
'virsh dumpxml virt1' and<br />a listing of the file. There
are no errors listed. <br /><br />virsh console virt1 <br
/><br />returns<br /><br />No console available for
domain<br /><br /><br />  What is the correct way to setup
serial<br />consoles for kmv/virsh on hardy? Or is this
not<br />supported yet or a bug?  <br /><br />thanx
-steve<br /><br /><br />Below is the original virt1.xml
config<br /><br /><domain type='kvm'><br /> 
<name>virt1</name><br /> 
<memory>2048000</memory><br /> 
<currentMemory>2048000</currentMemory><br /> 
<vcpu>4</vcpu><br />  <os><br />   
<type>hvm</type><br />    <boot
dev='hd'/><br />  </os><br />  <clock
offset='utc'/><br /> 
<on_poweroff>destroy</on_poweroff><br /> 
<on_reboot>restart</on_reboot><br /> 
<on_crash>destroy</on_crash><br /> 
<devices><br />   
<emulator>/usr/bin/kvm</emulator><br />   
<disk type='block' device='disk'><br />     
<source dev='/dev/vm/base_virt1'/><br />     
<target dev='hda' bus='scsi'/><br />   
</disk><br />    <disk type='block'
device='disk'><br />      <source
dev='/dev/vm/data0_virt1'/><br />      <target
dev='hdb' bus='scsi'/><br />    </disk><br />   
<serial type='pty'><br />      <source
path='/dev/pts/3'/><br />      <target
port='1'/><br />    </serial><br />    <console
type='pty'><br />      <source
path='/dev/pts/3'/><br />      <target
port='1'/><br />    </console><br /> 
</devices><br /></domain><br /><br />ps - I also
tried the above with /dev/ptmx, still<br />fails<br /><br
/></pre>