Skip to contentSkip to conversation

PLIP doesn't work under kvm

DISCUSSION holio-dslab 2 participants 2 messages Sep 7, 2008 – Sep 8, 2008 1 message not in the archive KVM

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

// config PLIP in guest-B
guest-B # modprobe plip
guest-B # ipconfig plip0 B pointopoint A netmask 255.255.255.255 up

guest-B # ping A
plip0: transmit timeout (1,86)
plip0: transmit timeout (1,86)
plip0: transmit timeout (1,86)
plip0: transmit timeout (1,86)
plip0: transmit timeout (1,86)
plip0: transmit timeout (1,86)
...

Any idea or had anyone succeeded on this?

#2 lore raw
Quoted 7 lines · * 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:

Quoted 7 lines

// 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.