From: Amit Shah Subject: Re: PLIP doesn't work under kvm Date: Mon, 8 Sep 2008 19:57:57 +0530 Message-ID: <200809081957.57292.amit.shah@qumranet.com> References: <3c850d660809062007u7bd49fbbx8e77048e21cb44c6@mail.gmail.com> <3c850d660809062022s3d05b41g9fc1c5126bcf7b17@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: holio-dslab Return-path: Received: from mis011-1.exch011.intermedia.net ([64.78.17.182]:54912 "EHLO mis011-1.exch011.intermedia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751968AbYIHO2D (ORCPT ); Mon, 8 Sep 2008 10:28:03 -0400 In-Reply-To: <3c850d660809062022s3d05b41g9fc1c5126bcf7b17@mail.gmail.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: * On Sunday 07 September 2008 08:52:29 holio-dslab wrote: > Hi all, I'm trying to communicate between two computers, said A and B, > with PLIP (Parallel Line IP). It works correct(both can ping each > other) when both run the PLIP on the physical host os, so the cable > and the configurations should be correct. Then I tried to connect > between physical os and KVM virtualization os, it doesn't work this > time, and kernel dumps error message. Here are my steps: > > // config PLIP in A > host-A # modprobe plip > host-A # ipconfig plip0 A pointopoint B netmask 255.255.255.255 up > > // prepare parport0 in B, and startup guest-B > host-B # modprobe ppdev > host-B # kvm guest-B.img --parallel /dev/parport0 What you want to do is assign a physical parallel port to the guest. What this does is redirect the guest's parallel port IO to /dev/parport0, which is very different from what you want. As of now, we can only assign host usb devices to the guest.