migration: add XFER_LIMIT_RATIO
commit5b4e1eb769eee892b44d3f6b2369b05196442f59
authorJuan Quintela <quintela@redhat.com>
Wed, 19 Dec 2012 09:40:48 +0000 (19 10:40 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:09:39 +0000 (20 23:09 +0100)
treefcce19b65a6ef7ab70bf00f6151d0e2031e1504c
parent0d82d0e8b98cf0ea03a45f8542d835ebd3a84cd3
migration: add XFER_LIMIT_RATIO

The "magic" divisions by 10 are there because of the value of BUFFER_DELAY.
Introduce a constant to explain them better.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration.c