search for: domainuuid

Displaying 7 results from an estimated 7 matches for "domainuuid".

Did you mean: domain_uuid
2010 Sep 13
3
[PATCH 1/4] Check that we're not overwriting an existing Libvirt domain
Exit with an error if we would overwrite an existing libvirt domain. Fixes RHBZ#617110 --- lib/Sys/VirtV2V/Connection/LibVirt.pm | 4 ++++ lib/Sys/VirtV2V/Target/LibVirt.pm | 31 ++++++++++++++++++++++++++++++- lib/Sys/VirtV2V/Target/RHEV.pm | 11 +++++++++++ 3 files changed, 45 insertions(+), 1 deletions(-) diff --git a/lib/Sys/VirtV2V/Connection/LibVirt.pm
2010 Jun 01
1
[PATCH] RHEV: OVF must have the same name as the OS UUID
...t;false" xsi:type="ovf:OperatingSystemSection_Type"> <Info>Guest Operating System</Info> <Description>Unassigned</Description> </Section> @@ -644,8 +644,6 @@ EOF my $mountdir = $self->{mountdir}; my $domainuuid = $self->{domainuuid}; - my $vmuuid = Sys::VirtV2V::Target::RHEV::UUIDHelper::get_uuid(); - my $dir = $mountdir.'/'.$domainuuid.'/master/vms/'.$vmuuid; mkdir($dir) or die(user_message(__x("Failed to create directory {dir}: {error}&quot...
2010 Jun 08
3
[PATCH 1/3] Fix RHEV cleanup on unclean shutdown
Cleanup was not happening properly if a migration to RHEV was killed prematurely with a Ctrl-C. Firstly, the SIGINT and SIGQUIT handlers were not being registered early enough in virt-v2v.pl. Secondly, if Ctrl-C killed the guestfs qemu process first it would deliver a SIGPIPE to v2v, which caused an unclean shutdown without cleanup. Fixes RHBZ#596015 --- v2v/virt-v2v.pl | 17 ++++++++++++++---
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
Move all target-specific functionality into its own module in preparation for output to RHEV. --- MANIFEST | 1 + lib/Sys/VirtV2V/Connection.pm | 46 ++--- lib/Sys/VirtV2V/Converter.pm | 138 +------------ lib/Sys/VirtV2V/Target/LibVirt.pm | 419 +++++++++++++++++++++++++++++++++++++ lib/Sys/VirtV2V/Transfer/ESX.pm | 91 +++------ po/POTFILES.in
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...eStream; -use Sys::VirtV2V::Util qw(user_message); +use File::Spec::Functions qw(splitpath); +use Sys::VirtV2V::Util qw(user_message); use Locale::TextDomain 'virt-v2v'; -our %vols_by_path; -our @vols; -our $tmpdir; - -sub _new +sub new { my $class = shift; - my ($mountdir, $domainuuid, $insize) = @_; + my ($volume) = @_; my $self = {}; bless($self, $class); - $self->{insize} = $insize; - # RHEV needs disks to be a multiple of 512 in size. Additionally, SIZE in - # the disk meta file has units of kilobytes. To ensure everything matches up - # exact...
2010 Jun 01
1
[PATCH] RHEV: Pad disk sizes up to a multiple of 1024 bytes
...+), 4 deletions(-) diff --git a/lib/Sys/VirtV2V/Target/RHEV.pm b/lib/Sys/VirtV2V/Target/RHEV.pm index 9dd9013..6841afc 100644 --- a/lib/Sys/VirtV2V/Target/RHEV.pm +++ b/lib/Sys/VirtV2V/Target/RHEV.pm @@ -171,12 +171,16 @@ our %vols_by_path; sub _new { my $class = shift; - my ($mountdir, $domainuuid, $size) = @_; + my ($mountdir, $domainuuid, $insize) = @_; my $self = {}; bless($self, $class); - $self->{size} = $size; + $self->{insize} = $insize; + # RHEV needs disks to be a multiple of 512 in size. Additionally, SIZE in + # the disk meta file has units of ki...
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,