mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
v2v: -i ova: Preserve the order of disks/removable/NICs from the source OVF.
Because we built the lists up backwards, we ought to reverse them before passing them out of the module.
This commit is contained in:
@@ -220,9 +220,9 @@ object
|
||||
s_vcpu = vcpu;
|
||||
s_features = []; (* XXX *)
|
||||
s_display = None; (* XXX *)
|
||||
s_disks = !disks;
|
||||
s_removables = !removables;
|
||||
s_nics = !nics;
|
||||
s_disks = List.rev !disks;
|
||||
s_removables = List.rev !removables;
|
||||
s_nics = List.rev !nics;
|
||||
} in
|
||||
|
||||
source
|
||||
|
||||
Reference in New Issue
Block a user