Displaying 20 results from an estimated 100000 matches similar to: "[PATCH] inspect: Cache downloaded files in the handle g->tmpdir."
2014 Dec 02
0
Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
On Tue, Dec 02, 2014 at 07:11:55PM +0200, Nikos Skalkotos wrote:
> Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>
> ---
> src/inspect-fs-unix.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
> index 01a59f1..f55e53b 100644
> --- a/src/inspect-fs-unix.c
> +++ b/src/inspect-fs-unix.c
2012 Nov 09
2
[PATCH 0/2] Rework tmpdir and appliance cache directory code.
1/2 is just small code motion.
2/2 reworks the tmpdir and appliance cache directory code. See
the commit comment for the full details.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
2011 Mar 03
1
[PATCH] Fix inspection code when PCRE or hivex is missing.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
>From 2b26c7f721fc8ed2e6f64963289981ac286c02aa Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones
2017 Mar 22
0
Re: [PATCH] inspect: improve detection of Mageia install discs
On Wed, Mar 22, 2017 at 05:16:34PM +0100, Pino Toscano wrote:
> Check for a "product.id" file in an architecture-specific subdirectory
> of the main partition, and use its data to improve the data on the
> media.
>
> Only Mageia as distribution name is recognized there, since most
> probably this file will not be available on other distros.
> ---
>
2011 Mar 23
1
[PATCH v2v for discussion only] Remove dependency on old Perl inspection code.
It needs a lot more testing, which I'm (slowly) performing on
my own machine.
Note this also depends on the new guestfs_inspect_get_product_variant
API that I posted earlier today.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats,
2017 Sep 12
0
Re: [PATCH v2 2/5] lib: qemu: Factor out common code for reading and writing cache files.
On Tue, Sep 12, 2017 at 03:05:43PM +0200, Pino Toscano wrote:
> On Tuesday, 12 September 2017 14:29:13 CEST Richard W.M. Jones wrote:
> > +/**
> > + * Generic functions for reading and writing the cache files, used
> > + * where we are just reading and writing plain text strings.
> > + */
> > +static int
> > +generic_read_cache (guestfs_h *g, const char
2013 Nov 28
3
Re: [PATCH 3/3] inspect: improve detection of FreeBSD install discs
On Thu, Nov 28, 2013 at 02:48:38PM +0100, Pino Toscano wrote:
> Check for /boot/loader.rc as "install disc" detection, using it to mark
> FreeBSD install discs.
> Also, check for /mfsroot.gz to see whether such disc is also a live one.
>
> See also RHBZ#1033207.
> ---
> src/inspect-fs-cd.c | 19 ++++++++++++++++++-
> src/inspect-fs.c | 3 ++-
> 2 files
2009 Oct 26
3
[PATCH 0/3] Handle NTFS 3g case sensitive Windows paths in the daemon
In the current Perl library we have a function called
resolve_windows_path which handles the useful [for Windows guests]
case where we need to resolve the true, case-sensitive path behind a
case-insensitive Windows path.
For example, a Windows path like "C:\Windows\System32" can be
presented to Linux by NTFS 3g in a variety of ways, eg:
/WINDOWS/system32
/WINDOWS/SYSTEM32
2020 Apr 06
0
Re: [PATCH virt-v2v v2 0/2] v2v: Large temporary directory handling.
On Mon, Apr 06, 2020 at 10:19:10AM +0100, Richard W.M. Jones wrote:
> v1 was here:
> https://www.redhat.com/archives/libguestfs/2020-April/msg00007.html
>
> There's a BZ for this now which I forgot to add to the commit message:
> https://bugzilla.redhat.com/show_bug.cgi?id=1814611
and https://bugzilla.redhat.com/show_bug.cgi?id=1820282
> For v2:
>
> - Fix incorrect
2015 Mar 23
0
Re: Inspection of disk snapshots
On Mon, Mar 23, 2015 at 04:34:21PM +0200, NoxDaFox wrote:
> Greetings,
>
> I have the following typical scenario: given one or more qcow2 base images
> I clone them with COW and start the VMs.
>
> At a certain point I'd like to inspect them in order to see their evolution
> compared to the known base images. To do so I was thinking about taking a
> disk snapshot of
2009 Jul 23
1
ANNOUNCE: libguestfs 1.0.64 released
I'm pleased to announce the release of libguestfs 1.0.64, the library
for accessing and modifying virtual machine disk images.
Homepage: http://libguestfs.org/
Downloads: http://libguestfs.org/download/
Git repo: http://git.et.redhat.com/?p=libguestfs.git
Fedora builds: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
NOTE at present there is a bug in qemu's
2023 Feb 25
1
no way to force-close NBD handle in nbdsh
On Sat, Feb 25, 2023 at 09:57:41AM +0000, Richard W.M. Jones wrote:
> I can have a go at adding this since I unexpectedly have some free
> time this weekend.
https://gitlab.com/nbdkit/libnbd/-/commit/b7f85610ac19085a1631439fbcb7dd241f1e9ebf
https://gitlab.com/nbdkit/libnbd/-/commit/71757015ea15815b5ff1c04ef482152b089eb305
2015 Mar 24
0
Re: Fwd: Inspection of disk snapshots
On Tue, Mar 24, 2015 at 10:54:05AM +0200, NoxDaFox wrote:
> I was sure I was doing something wrong as I'm not yet fully aware of QCOW2
> snapshot feature and how it interacts with libguestfs.
>
> I'll try to explain better the scenario:
>
> I have several hosts running lots of VMs which are generated from few base
> images, say A, B, C the base images (backing file)
2016 Jul 19
1
[PATCH] mllib, customize: Don't add -g option to ocamlmklib command line.
Pino alerted me to this problem -- it's quite clear if you try
to compile libguestfs from git on RHEL 7.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats,
2020 Mar 17
1
Re: [PATCH nbdkit v2] New tmpdisk plugin.
On Tue, Mar 17, 2020 at 06:16:49AM -0500, Eric Blake wrote:
> >+static void *
> >+tmpdisk_open (int readonly)
> >+{
> >+ struct handle *h;
> >+ CLEANUP_FREE char *disk = NULL;
> >+ const char *tmpdir;
> >+
> >+ tmpdir = getenv ("TMPDIR");
> >+ if (!tmpdir)
> >+ tmpdir = "/var/tmp";
>
> Rather than
2012 May 28
0
NTFS(-3g) large alternate data streams
(I meant to copy this message to the mailing list)
On Mon, May 28, 2012 at 05:49:36PM +0100, Richard W.M. Jones wrote:
>
> This file has an approx 48 MB ADS:
>
> ><fs> ll /Temp/
> total 13
> drwxrwxrwx 1 root root 0 May 28 17:28 .
> drwxrwxrwx 1 root root 4096 Nov 1 2011 ..
> -rwxrwxrwx 1 root root 13 Oct 5 2011 ADS_test.txt
>
2020 Mar 19
0
Re: [nbdkit PATCH 1/2] sh, eval: Cache .can_zero and .can_flush
On Thu, Mar 19, 2020 at 07:09:32AM -0500, Eric Blake wrote:
> Thinking about this more, maybe the real problem is that all
> language bindings that have to wrap scripts (OCaml and Rust are
> exceptions as they directly call into the C code; but lua, perl,
> python, ruby, tcl, and sh all fit into the category I'm describing)
> MUST define .can_FOO at the C level because they
2018 Nov 07
0
Re: [PATCH 2/3] v2v: linux: install packages
On Tue, 6 Nov 2018 11:32:38 +0000
"Richard W.M. Jones" <rjones@redhat.com> wrote:
> On Tue, Nov 06, 2018 at 11:44:14AM +0100, Tomáš Golembiovský wrote:
> > Install packages from local files without touching network.
>
> In fact, not limited to local files, but is limited to guests which
> use ‘yum’. So I think the function needs a better name unless
2014 Sep 23
3
Re: Virt-v2v conversion issue
Hi
Thank you for your quick response, do you know when the build 1.27.53 will be available ?
Alain
Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin 75006 PARIS
www.unicef.fr
-----Message d'origine-----
De : Richard W.M. Jones [mailto:rjones@redhat.com]
Envoyé : mardi 23
2018 Dec 15
0
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On Fri, Dec 14, 2018 at 04:31:32PM -0600, Eric Blake wrote:
> On 12/14/18 4:16 PM, Richard W.M. Jones wrote:
> >This implements something like a readonly 1MB disk reading as zeroes:
> >
> >nbdkit sh script=- <<'EOF'
> > case "$1" in
> > get_size) echo 1M ;;
> > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;;
> >