Stephen Hemminger fb9d170496 virtio: move allocation before initialization
If allocation fails, don't want to leave virtio device stuck
in middle of initialization sequence.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2015-02-20 19:18:57 +01:00
..
2015-02-18 16:52:05 +01:00
2015-02-18 19:07:34 +01:00
2015-02-18 18:58:55 +01:00
2015-02-18 16:52:05 +01:00
2015-02-18 16:52:05 +01:00