Bug 715141

Summary: Wrong Ethertype for RARP
Product: Red Hat Enterprise Linux 6 Reporter: Hiroaki Tomozawa <tomozawa.hiroaki>
Component: qemu-kvmAssignee: Amos Kong <akong>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: ailan, gleb, juzhang, mkenneth, tburke, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.167.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:52:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Hiroaki Tomozawa 2011-06-22 01:00:38 UTC
Description of problem:

qemu-kvm defines a wrong ethertype value for RAPR frames
in savevm.c:

 #define ETH_P_RARP 0x0835

The value must be a typo and should have been 0x8035,
as an upstream commit already has a fix:

https://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=f8778a7785d530515b0db395606f327fd5f94a92


Version-Release number of selected component (if applicable):

 qemu-kvm-0.12.1.2-2.160.el6.x86_64

Comment 9 FuXiangChun 2011-09-27 04:02:18 UTC
reproduce on qemu-kvm-0.12.1.2-2.160.el6.x86_64

steps to reproduce:

1. boot guest and do local migrate
2. tcpdump  -e -i breth0  -vv   in host
23:13:39.730023 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
        0x0000:  0001 0800 0604 0003 5256 0094 a320 0000  ........RV......
        0x0010:  0000 5256 0094 a320 0000 0000 0000 0000  ..RV............
        0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
23:13:39.880390 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
        0x0000:  0001 0800 0604 0003 5256 0094 a320 0000  ........RV......
        0x0010:  0000 5256 0094 a320 0000 0000 0000 0000  ..RV............
        0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............

verify on qemu-kvm-0.12.1.2-2.192.el6.x86_64

steps to reproduce:
1. boot guest and do local migrate
2. tcpdump  -e -i breth0  -vv   in host
22:58:28.784766 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Reverse ARP (0x8035), length 60: Ethernet (len 6), IPv4 (len 4), Reverse Request who-is 52:56:00:94:a3:20 (oui Unknown) tell 52:56:00:94:a3:20 (oui Unknown), length 46

testing result summary
1) entertype of RARP is 0x0835 in qemu-kvm-0.12.1.2-2.160.el6.x86_64, and cann't get RARP protocol 
2) entertype of RARP is 0x8035 in qemu-kvm-0.12.1.2-2.192.el6.x86_64, and can get RARP protocol

base on above testing result, this bug has been fixed.

Comment 11 errata-xmlrpc 2011-12-06 15:52:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1531.html