diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-04 09:36:05 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-04 09:36:05 +0100 |
commit | 61cf67606abdb21258093ecdef6bdffea3df9798 (patch) | |
tree | d2a1bfad75cff629efc806b0165b8f82f1fd9d31 /tools/remus | |
parent | c7a94e935cffefd797df463700be52cba463c24d (diff) | |
download | xen-61cf67606abdb21258093ecdef6bdffea3df9798.tar.gz xen-61cf67606abdb21258093ecdef6bdffea3df9798.tar.bz2 xen-61cf67606abdb21258093ecdef6bdffea3df9798.zip |
Remus: use IFB for net buffer on newer kernels
IMQ does not work with ebtables on 2.6.31, and IFB is not a
third-party patch.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Diffstat (limited to 'tools/remus')
-rw-r--r-- | tools/remus/remus | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/remus/remus b/tools/remus/remus index f80abf4380..11d83e418f 100644 --- a/tools/remus/remus +++ b/tools/remus/remus @@ -9,7 +9,8 @@ import optparse, os, re, select, signal, sys, time from xen.remus import save, util, vm -from xen.remus.device import ReplicatedDisk, BufferedNIC +from xen.remus.device import ReplicatedDisk, ReplicatedDiskException +from xen.remus.device import BufferedNIC, BufferedNICException from xen.xend import XendOptions class CfgException(Exception): pass @@ -115,7 +116,7 @@ def run(cfg): if cfg.netbuffer: for vif in dom.vifs: - bufs.append(Netbuffer(dom.domid)) + bufs.append(BufferedNIC(vif)) fd = save.MigrationSocket((cfg.host, cfg.port)) |