Displaying 4 results from an estimated 4 matches for "transferxxxxxx".
2010 May 26
1
[PATCH] Fix error in Converter::Windows when there is no transfer iso
...ut handles the case where
+ # files in it don't exist. Therefore we always create the mount point,
+ # but only mount anything on it if there's actually a transfer iso.
+
+ # Create the transfer mount point
+ $self->{transfer_mount} = $g->mkdtemp("/tmp/transferXXXXXX");
+
+ # Only mount the transfer iso if there is one
+ if (defined($self->get_transfer_iso())) {
+ # Find the transfer device
+ my @devices = $g->list_devices();
+ my $transfer = $devices[$#devices];
+
+ $g->mount_ro($transfer,...
2011 Dec 26
1
Another virt-p2v blew up
...ain_loop: proc 11 (lvs) took 0.05 seconds
guestfsd: main_loop: new request, len 0x44
mount -o /dev/sda1 /sysroot/
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 4a
| 00 00 00 01 | 00 12 34 47 | ...
libguestfs: trace: mount_options = 0
libguestfs: trace: mkdtemp "/transferXXXXXX"
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 |
00 00 00 75 | 00 00 00 00 | ...
guestfsd: main_loop: proc 74 (mount_options) took 0.51 seconds
guestfsd: main_loop: new request, len 0x3c
libguestfs: recv_from_daemon: 60 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 0...
2010 May 06
1
[PATCH v2v] Pre-convert Windows guests.
...mediately if it's already mounted
+ return if(exists($self->{transfer_mount}));
+
+ my $g = $self->{g};
+
+ # Find the transfer device
+ my @devices = $g->list_devices();
+ my $transfer = $devices[$#devices];
+
+ $self->{transfer_mount} = $g->mkdtemp("/temp/transferXXXXXX");
+ $g->mount_ro($transfer, $self->{transfer_mount});
+}
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2009-2010 Red Hat Inc.
+
+=head1 LICENSE
+
+Please see the file COPYING.LIB for the full license.
+
+=head1 SEE ALSO
+
+L<virt-v2v(1)>,
+L<Sys::VirtV2V::GuestOS(3pm)>,
+...
2009 Jul 24
2
[PATCH] Initial drop of virt-v2v
...mmediately if it's already mounted
+ return if(exists($self->{transfer_mount}));
+
+ my $g = $self->{g};
+
+ # Find the transfer device
+ my @devices = $g->list_devices();
+ my $transfer = $devices[$#devices];
+
+ $self->{transfer_mount} = $g->mkdtemp("/tmp/transferXXXXXX");
+ $g->mount_ro($transfer, $self->{transfer_mount});
+}
+
+sub remap_block_devices
+{
+ my $self = shift;
+ my %map = @_;
+
+ my $g = $self->{g};
+
+ # Iterate over fstab. Any entries with a spec in the the map, replace them
+ # with their mapped values
+ eval {...