Re: [Libguestfs] [PATCH v2 2/2] v2v: remove the 'graphicsmodedisabled' entry in ESP BCD

2016-06-12 Thread Richard W.M. Jones
Thanks, I pushed both patches. Note you will get conflicts when you pull, since I have folded in some fixes, largely cosmetic, but there were two more important ones: (1) v2v_unit_tests: BIOS -> I_BIOS. Please run the tests! (2) The code below > +let esp_temp_path = g#mkdtemp

[Libguestfs] [PATCH v7 4/5] New API: filesystem_walk

2016-06-12 Thread Matteo Cafasso
Library's counterpart of the daemon's internal_filesystem_walk command. It writes the daemon's command output on a temporary file and parses it, deserialising the XDR formatted tsk_dirent structs. It returns to the caller the list of tsk_dirent structs generated by the internal_filesystem_walk

[Libguestfs] [PATCH v7 1/5] generator: Added tsk_dirent struct

2016-06-12 Thread Matteo Cafasso
The tsk_dirent struct contains the information gathered via TSK APIs. The struct contains the following fields: * tsk_inode: inode of a file * tsk_type: type of file such as for dirwalk command * tsk_size: file size in bytes * tsk_name: path relative to its disk partition * tsk_flags:

[Libguestfs] [PATCH v7 3/5] configure: Added libtsk compile-time check

2016-06-12 Thread Matteo Cafasso
Ensure libtsk is available at compile time. If not, daemon routines depending on it won't be available. Signed-off-by: Matteo Cafasso --- docs/guestfs-building.pod | 4 m4/guestfs_daemon.m4 | 8 2 files changed, 12 insertions(+) diff --git

[Libguestfs] [PATCH v7 0/5] New API: filesystem_walk

2016-06-12 Thread Matteo Cafasso
v7: - iterate over output file instead of reading it into memory Instead of reading the whole output file in memory and iterating over the resulting buffer, use XDR primitives to directly iterate over the file itself. This should reduce the API memory consumption. Patch ready for

[Libguestfs] [PATCH v7 5/5] lib: Added filesystem_walk command tests

2016-06-12 Thread Matteo Cafasso
The tests check whether the filesystem_walk command is able to retrieve information regarding both existing and deleted files. A NTFS image is used as Ext3+ filesystems deletion is more aggressive in terms of metadata removal. Signed-off-by: Matteo Cafasso ---

Re: [Libguestfs] [PATCH 1/2] increase the default memory size to 768 MB

2016-06-12 Thread Richard W.M. Jones
On Sat, Jun 11, 2016 at 09:35:40PM +0100, Richard W.M. Jones wrote: > On Sat, Jun 11, 2016 at 08:51:56PM +0300, Pavel Butsykin wrote: > > The appliance memory size of 500 MB is insufficient in certain scenarios. > > In > > partiuclar, semodule (which may be called by a guest tools uninstaller)