search for: guestfs_part_list

Displaying 20 results from an estimated 63 matches for "guestfs_part_list".

2013 Feb 25
1
[PATCH] lib: avoid pragma usage in inspect-fs-windows
...agma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - part_offset = le64toh (* (uint64_t *) ((char *) blob + 4)); -#pragma GCC diagnostic pop + memcpy(&part_offset, (char *) blob + 4, sizeof(part_offset)); + part_offset = le64toh (part_offset); partitions = guestfs_part_list (g, devices[i]); if (partitions == NULL)
2015 Jun 18
3
[PATCH v2 0/3] daemon: parted: Always use -s option even with -m.
version 2: - Turn the "unrecognised disk label" error into errno == EINVAL - Fix virt-alignment-scan - Rework the fix for virt-v2v bug 1232192 (see description of patch 3/3)
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2014 Dec 09
0
[PATCH] inspection: Not an installer if there are multiple partitions (RHBZ#1171666).
...ar *device = NULL; + CLEANUP_FREE_PARTITION_LIST struct guestfs_partition_list *partitions = NULL; + + partnum = guestfs_part_to_partnum (g, partition); + if (partnum == -1) + return -1; + + device = guestfs_part_to_dev (g, partition); + if (device == NULL) + return -1; + + partitions = guestfs_part_list (g, device); + if (partitions == NULL) + return -1; + + nr_partitions = partitions->len; + + *partnum_ret = partnum; + *nr_partitions_ret = nr_partitions; + return 0; +} + int guestfs___is_file_nocase (guestfs_h *g, const char *path) { diff --git a/src/inspect.c b/src/inspect.c index...
2016 Feb 05
1
Re: [PATCH] inspect: get windows drive letters for GPT disks.
On Fri, 2016-02-05 at 18:08 +0000, Richard W.M. Jones wrote: > On Fri, Feb 05, 2016 at 12:15:32PM -0500, Dawid Zamirski wrote: > > This patch updates the guestfs_inspect_get_drive_mappings API call > > to > > also return drive letters for GPT paritions. Previously this worked > > only for MBR partitions. This is achieved by matching the GPT > > partition > >
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...ice"], []; - deprecated_by = Some "part_list"; + deprecated_by = Replaced_by "part_list"; shortdesc = "display the partition table"; longdesc = "\ This displays the partition table on C<device>, in the @@ -311,7 +311,7 @@ See also: C<guestfs_part_list>" }; { defaults with name = "e2fsck_f"; added = (1, 0, 29); style = RErr, [Device "device"], []; - deprecated_by = Some "e2fsck"; + deprecated_by = Replaced_by "e2fsck"; shortdesc = "check an ext2/ext3 filesystem";...
2017 Jul 21
10
[PATCH v10 00/10] Reimplement inspection in the daemon.
v9 was here: https://www.redhat.com/archives/libguestfs/2017-July/msg00139.html This depends on these three series (the first two being single minor patches): https://www.redhat.com/archives/libguestfs/2017-July/msg00207.html https://www.redhat.com/archives/libguestfs/2017-July/msg00209.html https://www.redhat.com/archives/libguestfs/2017-July/msg00215.html There is no substantive change. I
2017 Jul 17
12
[PATCH v9 00/11] Reimplement inspection in the daemon.
This depends on the patch series "[PATCH 00/27] Reimplement many daemon APIs in OCaml." (https://www.redhat.com/archives/libguestfs/2017-July/msg00098.html) v8 was posted here: https://www.redhat.com/archives/libguestfs/2017-June/msg00274.html v9: - I split up the mega-patch into a more reviewable series of smaller, incremental patches. There are some other changes vs v8, but
2017 Aug 09
16
[PATCH v12 00/11] Reimplement inspection in the daemon.
This fixes almost everything. Note that it adds an extra commit which fixes the whole utf8/iconv business. It's probably better to list what isn't fixed: (1) I didn't leave the osinfo code around because I'm still haven't looked too closely at virt-builder-repository. Can't we just fetch this code from the git history when we need it? (2) I didn't change the way
2017 Jul 31
16
[PATCH v11 00/10] Reimplement inspection in the daemon.
v10: https://www.redhat.com/archives/libguestfs/2017-July/msg00245.html No actual change here, but I rebased and retested. Also this series now does not depend on any other patch series since everything else needed is upstream. Rich.
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2017 Jun 19
29
[PATCH v7 00/29] Reimplement inspection in the daemon.
v6 was posted here: https://www.redhat.com/archives/libguestfs/2017-June/msg00103.html and this requires the utilities refactoring posted here: https://www.redhat.com/archives/libguestfs/2017-June/msg00169.html Inspection is now complete[*], although not very well tested. I'm intending to compare the output of many guests using old & new virt-inspector to see if I can find any
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...uot;, [Device "device"], []; + style = RString "partitions", [String (Device, "device")], []; deprecated_by = Replaced_by "part_list"; shortdesc = "display the partition table"; longdesc = "\ @@ -310,7 +310,7 @@ See also: C<guestfs_part_list>" }; { defaults with name = "e2fsck_f"; added = (1, 0, 29); - style = RErr, [Device "device"], []; + style = RErr, [String (Device, "device")], []; deprecated_by = Replaced_by "e2fsck"; shortdesc = "check an ext2/ext3 fi...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2010 Dec 07
0
builder-debian libguestfs FAILED tests 4c5038ab54fb6fdff75ca8d5fdda9e73f48a5050
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...
2010 Dec 24
0
builder-debian libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...
2011 Jan 07
0
builder-debian libguestfs success 7e1114445e713c4a15f3f2cede5842044de1735a
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...
2010 Dec 24
1
builder-ubuntu libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...
2010 Dec 07
0
builder-debian libguestfs success 4b8f70d46dcfed1489c97f822e263b8615f21ea0
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...
2010 Dec 08
0
builder-ubuntu libguestfs success 4e8ad174cadf9e75401b7fa0d380d4c84c29c9ec
...s_getcon" has no tests warning: "guestfs_find0" has no tests warning: "guestfs_lchown" has no tests warning: "guestfs_lstatlist" has no tests warning: "guestfs_lxattrlist" has no tests warning: "guestfs_readlinklist" has no tests warning: "guestfs_part_list" has no tests warning: "guestfs_pvuuid" has no tests warning: "guestfs_vguuid" has no tests warning: "guestfs_lvuuid" has no tests warning: "guestfs_vgpvuuids" has no tests warning: "guestfs_vglvuuids" has no tests warning: "guestfs_txz_ou...