Bug 1174145

Summary: qemu-kvm: -device isa-parallel,chardev=charparallel0,id=parallel0: 'isa-parallel' is not a valid device model name
Product: [Community] Virtualization Tools Reporter: dtrich0
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED CANTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-15 15:53:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/libvirt/qemu/BMS_AIR.log (the log of the VM) none

Description dtrich0 2014-12-15 09:09:48 UTC
Created attachment 968829 [details]
/var/log/libvirt/qemu/BMS_AIR.log (the log of the VM)

Description of problem:
When I try to add parallel port to VM I'm getting the error:
"qemu-kvm: -device isa-parallel,chardev=charparallel0,id=parallel0: 'isa-parallel' is not a valid device model name"
and the VM does not start.
Version-Release number of selected component (if applicable):
libvirtd --version
libvirtd (libvirt) 1.1.1

How reproducible:
adding /dev/parport0 as parallel port to the guest OS.

Steps to Reproduce:
1.Show Virtual Hardware Details
2.Add Hardware
3.Parallel
4.Physical host character device (dev)
5.Path:/dev/parport0
6.start VM

Actual results:
Error starting domain: internal error: early end of file from monitor: possible problem:
qemu-kvm: -device isa-parallel,chardev=charparallel0,id=parallel0: 'isa-parallel' is not a valid device model name


Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 122, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1220, in startup
    self._backend.create()
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 698, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error: early end of file from monitor: possible problem:
qemu-kvm: -device isa-parallel,chardev=charparallel0,id=parallel0: 'isa-parallel' is not a valid device model name





Expected results:
adding lpt1 to winxp VM.

Additional info:
Virtual Machine Manager 0.10.0 in CENTOS 7

Comment 1 Cole Robinson 2014-12-15 15:53:04 UTC
The default qemu-kvm on centos 7 has parallel device support compiled out. Some info here:

https://www.redhat.com/archives/libvirt-users/2014-November/msg00106.html