Hello
I use xen and I am trying to use the parallel port of Centos 5.2 host from a Windows XP (HVM) guest. I have tried to transfer control of the port by blacklisting lp, parport and parport_pc + adding: ioports = [ "0378-037a" ] to the xen configuration file.
However, in the presence of this line, xm create replies with:
Error: function takes exactly 4 arguments (3 given)
In xend.log I see: [2009-02-02 15:36:34 xend.XendDomainInfo 6246] DEBUG (XendDomainInfo:1603) XendDomainInfo.destroy: domid=13 [2009-02-02 15:36:34 xend 6246] ERROR (xmlrpclib2:184) function takes exactly 4 arguments (3 given) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 238, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 205, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1507, in initDomain self.createDevices() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1716, in createDevices self.createDevice(n, c) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1189, in createDevice return self.getDeviceController(deviceClass).createDevice(devconfig) File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 80, in createDevice (devid, back, front) = self.getDeviceDetails(config) File "/usr/lib64/python2.4/site-packages/xen/xend/server/iopif.py", line 78, in getDeviceDetails allow_access = True) TypeError: function takes exactly 4 arguments (3 given)
Except of a bug from 2007 and which should be fixed for a long time (and which is only PARTIALLY included in xen as available in 5.2), I have not found anything. I did apply the unapplied part of http://bugs.centos.org/file_download.php?file_id=474&type=bug but there is no change.
Any ideas ? TIA
manuel