[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [et-mgmt-tools] -parallel supported?



 >|> qemu-kvm has a -parallel option for attaching a parallel port to a
 >|> guest. Does virt-manager support this? I'm running version
 >|> 0.5.3-2.fc8.
 >|
 >|virt-manager currently does not have support for adding
 >|parallel devices to guests, though this is supported at
 >|the libvirt level. So, using virsh, you can add a parallel
 >|device to an existing VM. Check out
 >|http://libvirt.org/formatdomain.html#elementsConsole for
 >|xml examples.

Thanks.  I added

    <parallel type='pty'>
      <source path='/dev/lp0' />
      <target port='0'/>
    </parallel>

to the <devices> section of the relevant file in /etc/libvirt/qemu. The
parallel "hardware" shows up in virt-manager, but with - as the source
path; running the domain yields

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/engine.py", line 531,
    in run_domain
      vm.startup()
    File "/usr/share/virt-manager/virtManager/domain.py", line 380,
    in startup
      self.vm.create()
    File "/usr/lib/python2.5/site-packages/libvirt.py", line 262,
    in create
      if ret == -1: raise libvirtError ('virDomainCreate() failed',
      dom=self)
  libvirtError: internal error Timed out while reading console startup
  output

Same result if I use <source path='/dev/pts/2' />. If I remove the
parallel "hardware" in the virt-manager, the guest starts up OK.

I'm now running

libvirt-0.4.5-2.fc8
virt-manager-0.6.0-1.fc8

on the host.

Bob T.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]