search for: guestfs_copy_xattr_list

Displaying 5 results from an estimated 5 matches for "guestfs_copy_xattr_list".

2015 Jan 02
2
(no subject)
Hi, we needed these changes when we had to build a guest image compatible with a starting guest image but not backed by it in any way? We needed some tool to check our progress, comparing original and? rebuilt (from scratch) images, and virt-diff seemed the best option, but? we had to soften the comparison to reduce the noise in the output. I added some options to ignore certain informations when
2015 Jan 02
0
[PATCH] virt-diff: add additional ignore options
...stat->st_blocks = 0; + + if (no_compare_uids) + stat->st_uid = stat->st_gid = 0; + + if (no_compare_times) + stat->st_atime_sec = stat->st_mtime_sec = stat->st_ctime_sec = + stat->st_atime_nsec = stat->st_mtime_nsec = stat->st_ctime_nsec = 0; + xattrs = guestfs_copy_xattr_list (xattrs_orig); + xattrs_copy = guestfs_copy_xattr_list (xattrs_orig); if (xattrs == NULL) { perror ("guestfs_copy_xattr_list"); goto error; } + if (no_compare_xattrs) + xattrs->len = 0; if (checksum && is_reg (stat->st_mode)) { csum = guestfs_c...
2015 Jan 06
0
[PATCH] virt-diff: add additional ignore options
...+ stat->st_blocks = 0; + + if (!compare_uids) + stat->st_uid = stat->st_gid = 0; + + if (!compare_times) + stat->st_atime_sec = stat->st_mtime_sec = stat->st_ctime_sec = + stat->st_atime_nsec = stat->st_mtime_nsec = stat->st_ctime_nsec = 0; + xattrs = guestfs_copy_xattr_list (xattrs_orig); + xattrs_copy = guestfs_copy_xattr_list (xattrs_orig); if (xattrs == NULL) { perror ("guestfs_copy_xattr_list"); goto error; } - if (checksum && is_reg (stat->st_mode)) { csum = guestfs_checksum (t->g, checksum, path); if (!csum)...
2015 Jan 05
2
Re: [PATCH] virt-diff: add additional ignore options
...(no_compare_uids) > + stat->st_uid = stat->st_gid = 0; > + > + if (no_compare_times) > + stat->st_atime_sec = stat->st_mtime_sec = stat->st_ctime_sec = > + stat->st_atime_nsec = stat->st_mtime_nsec = stat->st_ctime_nsec = 0; > + > xattrs = guestfs_copy_xattr_list (xattrs_orig); > + xattrs_copy = guestfs_copy_xattr_list (xattrs_orig); > if (xattrs == NULL) { > perror ("guestfs_copy_xattr_list"); > goto error; > } > + if (no_compare_xattrs) > + xattrs->len = 0; "len" in _list structs indicates...
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.