search for: source_

Displaying 20 results from an estimated 30 matches for "source_".

Did you mean: source
2010 Apr 07
1
[PATCH] Connection: Handle case of cdrom with no <source> element
...@@ sub _storage_iterate my @paths; # A list of libvirt target device names my @devices; - foreach my $disk ($dom->findnodes('/domain/devices/disk')) { + + foreach my $disk ($dom->findnodes("/domain/devices/disk[\@device='disk']")) { my ($source_e) = $disk->findnodes('source'); my ($source) = $source_e->findnodes('@file | @dev'); @@ -125,55 +126,63 @@ sub _storage_iterate my ($dev) = $disk->findnodes('target/@dev'); defined($dev) or die("disk does not have a target device:...
2010 Mar 31
1
[PATCH] Add LocalCopy transfer method to transfer local files to a target
...>appendChild($driver); - } - $driver->setAttribute('name', 'qemu'); - $driver->setAttribute('type', $vol->get_format()); - - # Remove the @file or @dev attribute before adding a new one - $source_e->removeAttributeNode($source); - - # Set @file or @dev as appropriate - if ($vol->is_block()) - { - $disk->setAttribute('type', 'block'); - $source_e->setAttribute('dev', $path);...
2007 Apr 03
0
11 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec-gtk/swfdec_source.c libswfdec/swfdec_cached.c libswfdec/swfdec_font.c libswfdec/swfdec_morphshape.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c
...fdec_iterate_get_msecs_to_next_event (source); - + glong diff; + + if (((SwfdecIterateSource *) source)->player == NULL) + return 0; + diff = swfdec_iterate_get_msecs_to_next_event (source); return diff < 0; } @@ -88,8 +98,11 @@ static gboolean swfdec_iterate_dispatch (GSource *source_, GSourceFunc callback, gpointer user_data) { SwfdecIterateSource *source = (SwfdecIterateSource *) source_; - glong diff = swfdec_iterate_get_msecs_to_next_event (source_); - + glong diff; + + if (source->player == NULL) + return FALSE; + diff = swfdec_iterate_get_msecs_to_next_even...
2004 Aug 06
2
Patches - Was: Stream metadata settings
...oes this have any effect at all that isn't handled by setting max-listeners to zero? 3) In the multilevel fallbacks patch, you've added a comment saying "Likely safe to do since there can only be one thread, ever", along with some static local variables, in the source_find_mount() function. I'm not sure why you said this, it's clearly incorrect: the source_* functions are called from many different threads, and this is clearly not safe. This is easily fixed, though, by passing the neccesary variables recursively, and splitting the function into two....
2010 Jun 18
1
[PATCH] Improve error message when LibvirtXML is given invalid domain XML
...tXML.pm | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/lib/Sys/VirtV2V/Connection.pm b/lib/Sys/VirtV2V/Connection.pm index da6a44b..4dc659d 100644 --- a/lib/Sys/VirtV2V/Connection.pm +++ b/lib/Sys/VirtV2V/Connection.pm @@ -186,6 +186,9 @@ sub _storage_iterate $source_e->setAttribute($source->getName(), ''); } + die(user_message(__("Guest doesn't define any recognised storage devices"))) + unless (@paths > 0); + $self->{paths} = \@paths; $self->{devices} = \@devices; } diff --git a/lib/Sys/VirtV2V/C...
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,
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...ec_slow_loader.h" -static gpointer playback; - static void set_title (GtkWindow *window, const char *filename) { @@ -61,20 +57,6 @@ view_swf (SwfdecPlayer *player, double s } static void -play_swf (SwfdecPlayer *player, double speed) -{ - GSource *source; - - source = swfdec_iterate_source_new (player, speed); - g_source_attach (source, NULL); - - gtk_main (); - - g_source_destroy (source); - g_source_unref (source); -} - -static void print_trace (SwfdecPlayer *player, const char *message, gpointer unused) { g_print ("%s\n", message); @@ -133,7 +115,7 @@ main (int a...
2004 Aug 06
0
Patches - Was: Stream metadata settings
..., by name, it will not prevent listening to it as a fallback. That was the idea. > 3) In the multilevel fallbacks patch, you've added a comment > saying > "Likely safe to do since there can only be one thread, ever", along with > some > static local variables, in the source_find_mount() function. I'm not sure > why > you said this, it's clearly incorrect: the source_* functions are called > from > many different threads, and this is clearly not safe. This is easily > fixed, > though, by passing the neccesary variables recursively, and splittin...
2009 Jan 11
1
Makevars
Hi I have sent a previous email "Error in dyn.load()" for which, shame on me, I later found a partial answer. I have been trying to look into what I exactly need to include into Makevars and where it needs to be located and have not found a satisfying answer yet. Maybe the following questions are helpful for other people as well. Again, I am trying to include a C function tools.c into
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...g notify; /* set for iterate notifications */ + gulong notify; /* set for iterate notifications (only valid when player != NULL) */ GTimeVal last; /* last time */ }; @@ -115,7 +115,7 @@ swfdec_iterate_finalize (GSource *source { SwfdecIterateSource *source = (SwfdecIterateSource *) source_; - if (source->notify) { + if (source->notify && source->player) { g_signal_handler_disconnect (source->player, source->notify); } if (source->player) {
2003 Jun 11
2
Does the RPM for RH9 know about TCL/Tk
Sorry for the probable repeat post but I can only search the list up to 2002 (is there a better way?). I am using the RH9 RPM from CRAN but packages like AnalyzeFMRI say that tcltk is not found. Do I need to do more to get Tk GUIs working on RH9 or does the RPM not have tcltk support built in (should I compile from source). Thanks in advance. Take care. -Morgan
2006 Jan 20
0
Newbie installation problem: gem [command] --remote
...fig_file.rb:12 - No such file or directory - C:\Documents and Settings\Da niel/.gemrc Attempting remote installation of ''rails'' Exception `Errno::ENOENT'' at D:/rg/xampp/ruby/lib/ruby/1.8/fileutils.rb:82 1 - No such file or directory - D:/rg/xampp/ruby/lib/ruby/gems/1.8/source_ cache Exception `EOFError'' at D:/rg/xampp/ruby/lib/ruby/site_ruby/1.8/rubygems/r emote_installer.rb:222 - End of file reached Updating Gem source index for: http://gems.rubyforge.org Exception `Errno::EINVAL'' at D:/rg/xampp/ruby/lib/ruby/1.8/net/protocol.rb :197 - Invalid argume...
2002 May 02
2
Password protection
Hi there. Would/will there be a way to password protect providing kernel parameters and choosing some boot labels in SYSLINUX? So that not everybody can boot the machine single-user, with different root devices, etc. (And also so that you would need a password to boot from the local disk, in PXELINUX)? We want to start using SYSLINUX, actually PXELINUX, here at the CS department of the Hebrew
2003 Sep 05
2
S4 Method Collisions with "[" (PR#4075)
Full_Name: Colin A. Smith Version: 1.8.0 OS: Mac OS X 10.2.6 Submission from: (NULL) (216.102.90.18) Both Biobase and my package annaffy use S4 classes to define methods for "[". Both packages use the save image method of installation. (See annaffy 1.0.3 in BioC CVS.) Depending on how both packages are loaded, the Biobase definitions seem to be getting masked out: >
2004 Aug 06
1
Patches - Was: Stream metadata settings
...oes anyone else have any opinions on this? <p>> > > 3) In the multilevel fallbacks patch, you've added a comment > > saying > > "Likely safe to do since there can only be one thread, ever", along with > > some > > static local variables, in the source_find_mount() function. I'm not sure > > why > > you said this, it's clearly incorrect: the source_* functions are called > > from > > many different threads, and this is clearly not safe. This is easily > > fixed, > > though, by passing the neccesary varia...
2010 Jan 29
4
[FOR REVIEW ONLY] ESX work in progress
The following patches are where I'm currently at with ESX support. I can now import a domain from ESX along with its storage. Note that I'm not yet doing any conversion. In fact, I've never even tested past the import stage (I just had an exit in there). The meat is really in the 4th patch. The rename of MetadataReader->Connection was because the Connection is now really providing
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from ESX with the following command line: virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64 Login details are stored in ~/.netrc Note that this is the only guest I've tested against. I haven't for example, checked that I haven't broken Xen imports. Matt [1] With the exception of
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
...itly - $format ||= 'auto'; - - $driver->setAttribute('type', $format); + $driver->setAttribute('type', $vol->get_format()); # Remove the @file or @dev attribute before adding a new one $source_e->removeAttributeNode($source); - $path = $vol->get_path(); - # Set @file or @dev as appropriate - if ($vol->get_info()->{type} == - Sys::Virt::StorageVol::TYPE_FILE) + if ($vol->is_block())...
2008 Jun 05
4
[Bug 16241] New: assertion failed: (movie->cache_state <= SWFDEC_MOVIE_INVALID_CHILDREN)
...l_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:2243 #27 0x00007f7a0d071bc7 in swfdec_player_advance (player=0x3cd4de0, msecs=83) at swfdec_player.c:3162 #28 0x00007f7a0d306a58 in swfdec_iterate_dispatch (source_=0x4390160, callback=<value optimized out>, user_data=<value optimized out>) at swfdec_source.c:109 #29 0x0000003f3883749b in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2009 #30 0x0000003f3883ac7d in g_main_context_iterate (context=<value opt...
2004 Aug 06
5
Patches - Was: Stream metadata settings
On Tuesday 02 December 2003 01:23, Melanie wrote: > Hello, > > this is the first patch, it implements some basic multilevel fallback > handling logic, the time window and the no mount option. > > New options are possible within an <mount> section: > > <fallback-override>1</fallback-override> > > This will allow a source connecting to a mount point to