Displaying 5 results from an estimated 5 matches for "catdir".
Did you mean:
caldir
2007 Aug 06
2
multiple cores?
A question that someone asked me, cut and pasted from another board:
>>I've got 8 cores on my machine and while encoding only one processor is used,
and maxed out. Is there any way to distribute the load across multi-cores?<<
I have no idea what the answer to this is. The question was about flac on OS X
Scott
2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
...arched automatically when automatically installing drivers.
+sub _prepare_virtio_drivers
+{
+ my $g = shift;
+ my $tmpdir = shift;
+ my $desc = shift;
+ my $devices = shift;
+ my $config = shift;
+
+ # Copy the target VirtIO drivers to the guest
+ my $driverdir = File::Spec->catdir($g->case_sensitive_path("/windows"), "Drivers/VirtIO");
+
+ $g->mkdir_p($driverdir);
+
+ my ($virtio) = $config->match_app ($desc, 'virtio', $desc->{arch});
+ $virtio = $config->get_transfer_path($g, $virtio);
+
+ foreach my $src ($g->ls($vi...
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...:VirtV2V::Connection::RHEVTarget::Vol::ISA =
+ qw(Sys::VirtV2V::Connection::Volume);
+
+sub new
{
- my $self = shift;
+ my $class = shift;
+ my ($mountdir, $domainuuid, $format, $insize, $sparse) = @_;
- my $now = $self->{creation};
- $self->{written} = 0;
+ my $root = catdir($mountdir, $domainuuid);
- $self->{writer} = Sys::VirtV2V::Target::RHEV::NFSHelper->new(sub {
- my $dir = $self->{tmpdir};
- my $path = $self->{path};
+ # Initialise the package-wide temp directory if required
+ unless (defined($tmpdir)) {
+ my $nfs = rhe...
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...- ) = getpwuid($UID);
-
- unless (defined($home)) {
- print STDERR user_message(__x("Unable to get home directory ".
- "for current user"));
- exit(1);
- }
-
- $datadir = File::Spec->catdir($home, ".virt-v2v");
- }
-
- else {
- $datadir = "/var/lib/virt-v2v";
- }
-
- unless (-d $datadir) {
- unless(mkdir($datadir)) {
- print STDERR user_message(__x("Unable to create data ".
- &q...
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,