[libvirt] [libvirt 0.6.4] Unable to set /domain/devices/serial[@port=1] as console?

Charles Duffy Charles_Duffy at messageone.com
Fri Jul 17 01:24:10 UTC 2009


When I do a "virsh define" with the following:

     <serial type='file'>
       <source path='/path/to/serial.log'/>
       <target port='0'/>
     </serial>
     <serial type='pty'>
       <target port='1'/>
     </serial>
     <console type='pty'>
       <target port='1'/>
     </console>

The result is this:

     <serial type='file'>
       <source path='/path/to/serial.log'/>
       <target port='0'/>
     </serial>
     <serial type='pty'>
       <target port='1'/>
     </serial>
     <console type='file'>
       <source path='/path/to/serial.log'/>
       <target port='0'/>
     </console>

...a markedly different configuration.

Is this the result of a bug, or a known behavior I've failed to catch in 
the docs?

Thanks!




More information about the libvir-list mailing list