qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix the RARP protocol ID
@ 2010-04-24 12:54 Stefan Berger
  2010-04-29 18:32 ` Stefan Berger
  2010-05-03 17:13 ` Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Berger @ 2010-04-24 12:54 UTC (permalink / raw)
  To: qemu-devel

The packet(s) sent out after migration are supposed to be RAPR type of
packets. If they are supposed to go anywhere useful, the RAPR ethernet
identifier needs to be fix.

Also see http://www.iana.org/assignments/ethernet-numbers for 0x8035 for
RARP.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>

---
 savevm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: qemu-git/savevm.c
===================================================================
--- qemu-git.orig/savevm.c
+++ qemu-git/savevm.c
@@ -89,7 +89,7 @@ static BlockDriverState *bs_snapshots;
 #define SELF_ANNOUNCE_ROUNDS 5
 
 #ifndef ETH_P_RARP
-#define ETH_P_RARP 0x0835
+#define ETH_P_RARP 0x8035
 #endif
 #define ARP_HTYPE_ETH 0x0001
 #define ARP_PTYPE_IP 0x0800

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix the RARP protocol ID
  2010-04-24 12:54 [Qemu-devel] [PATCH] Fix the RARP protocol ID Stefan Berger
@ 2010-04-29 18:32 ` Stefan Berger
  2010-05-03 17:13 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Berger @ 2010-04-29 18:32 UTC (permalink / raw)
  To: Stefan Berger; +Cc: qemu-devel-bounces+stefanb=us.ibm.com, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

qemu-devel-bounces+stefanb=us.ibm.com@nongnu.org wrote on 04/24/2010 
08:54:07 AM:


> The packet(s) sent out after migration are supposed to be RAPR type of
> packets. If they are supposed to go anywhere useful, the RAPR ethernet
> identifier needs to be fix.
> 
> Also see http://www.iana.org/assignments/ethernet-numbers for 0x8035 for
> RARP.

Hi! It's probably not high on the agenda, but any reason why the created 
packet
looks like a RAPR packet and yet has the wrong ethernet protocol ID? If 
this 
packet is sent  to tell the local switch that the VM is now on a different 

port, why not just send an ARP request packet asking for an IP address of 
0.0.0.0 ?

   Stefan

> 
> Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
> 
> ---
>  savevm.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: qemu-git/savevm.c
> ===================================================================
> --- qemu-git.orig/savevm.c
> +++ qemu-git/savevm.c
> @@ -89,7 +89,7 @@ static BlockDriverState *bs_snapshots;
>  #define SELF_ANNOUNCE_ROUNDS 5
> 
>  #ifndef ETH_P_RARP
> -#define ETH_P_RARP 0x0835
> +#define ETH_P_RARP 0x8035
>  #endif
>  #define ARP_HTYPE_ETH 0x0001
>  #define ARP_PTYPE_IP 0x0800
> 
> 
> 

[-- Attachment #2: Type: text/html, Size: 1871 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix the RARP protocol ID
  2010-04-24 12:54 [Qemu-devel] [PATCH] Fix the RARP protocol ID Stefan Berger
  2010-04-29 18:32 ` Stefan Berger
@ 2010-05-03 17:13 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2010-05-03 17:13 UTC (permalink / raw)
  To: Stefan Berger; +Cc: qemu-devel

On 04/24/2010 07:54 AM, Stefan Berger wrote:
> The packet(s) sent out after migration are supposed to be RAPR type of
> packets. If they are supposed to go anywhere useful, the RAPR ethernet
> identifier needs to be fix.
>
> Also see http://www.iana.org/assignments/ethernet-numbers for 0x8035 for
> RARP.
>
> Signed-off-by: Stefan Berger<stefanb@us.ibm.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>   savevm.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: qemu-git/savevm.c
> ===================================================================
> --- qemu-git.orig/savevm.c
> +++ qemu-git/savevm.c
> @@ -89,7 +89,7 @@ static BlockDriverState *bs_snapshots;
>   #define SELF_ANNOUNCE_ROUNDS 5
>
>   #ifndef ETH_P_RARP
> -#define ETH_P_RARP 0x0835
> +#define ETH_P_RARP 0x8035
>   #endif
>   #define ARP_HTYPE_ETH 0x0001
>   #define ARP_PTYPE_IP 0x0800
>
>
>
>
>    

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-03 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-24 12:54 [Qemu-devel] [PATCH] Fix the RARP protocol ID Stefan Berger
2010-04-29 18:32 ` Stefan Berger
2010-05-03 17:13 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).