qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Robin Geuze <robing@transip.nl>
To: qemu-devel@nongnu.org, jasowang@redhat.com, yanghy@cn.fujitsu.com
Cc: Frank Schreuder <fschreuder@transip.nl>
Subject: [Qemu-devel] QEMU live migration RARP issue
Date: Wed, 20 Jul 2016 11:10:29 +0200	[thread overview]
Message-ID: <5f2b5b51-b75e-13dc-1816-6a61f8002fa7@transip.nl> (raw)

Hey guys,

A few days ago we noticed that some of our VPSes lost network connection 
after a live migration using QEMU/KVM. We started investigating and 
noticed that the problem was at least present for guests running 
FreeBSD, Debian 7 (Linux 3.2.81-1) and some flavors of CentOS. At least 
Debian 8 (Linux 3.16.7-ckt25-2) was not affected. Everything is using 
the virtio drivers. We also noted that the problem was not present in 
QEMU 2.4.0, but was present in QEMU 2.6.0. The configs between both 
versions of QEMU are identical. We use libvirt 1.3.5 to manage QEMU/KVM 
(same version on both qemu versions).

After some false starts we managed to reliably reproduce the issue with 
a Debian 7 VM. What we noticed was that Debian 8 send out gratuitous ARP 
replies. Debian 7 did not appear to send those. After some further 
digging we found out that on QEMU 2.4.0 Debian 7 actually send 
gratuitous RARP packets after a live migration instead of normal ARP 
packets and that those where not present when migrating on QEMU 2.6.0. 
We then started narrowing down the responsible commits using git bisect 
and eventually ended up with the last good commit being 
d62241eb6da9bd2517f07b3219ba4208b90b4e0d and the last bad commit we 
tested was 7ef7bc8586fb0d41742a896b532c7afa2bbb7f84. This is a range of 
6 commits introducing the NetFilter functionality. We couldn't really 
pinpoint it more accurately so we decided to email you guys, to see if 
you can figure out whats up.

Regards,

Robin Geuze

TransIP BV

             reply	other threads:[~2016-07-20 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  9:10 Robin Geuze [this message]
2016-07-20  9:54 ` [Qemu-devel] QEMU live migration RARP issue Jason Wang
2016-07-20 11:27   ` Robin Geuze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f2b5b51-b75e-13dc-1816-6a61f8002fa7@transip.nl \
    --to=robing@transip.nl \
    --cc=fschreuder@transip.nl \
    --cc=jasowang@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yanghy@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).