Re: [Libguestfs] [libnbd PATCH 2/2] info: Show human sizes for block_size values

2023-10-07 Thread Richard W.M. Jones
On Fri, Oct 06, 2023 at 10:18:09AM -0500, Eric Blake wrote: > Adding a human-readable size for block constraints is useful. For: > > $ ./run nbdinfo -- [ nbdkit memory \ >--filter=blocksize-policy blocksize-preferred=32k 1M ] | grep pref > > this changes pre-patch: >

Re: [Libguestfs] [libnbd PATCH 1/2] utils: Slightly simplify human_size()

2023-10-07 Thread Richard W.M. Jones
On Fri, Oct 06, 2023 at 10:18:08AM -0500, Eric Blake wrote: > Use an array of characters instead of strings for less .data storage. > Merge the loop conditional for fewer lines of code. > > Signed-off-by: Eric Blake > --- > common/include/human-size.h | 14 ++ > 1 file changed, 6

Re: [Libguestfs] Fwd: virt-v2v creating image that does not install guest agent on first boot

2023-10-07 Thread Ming Xie
Hi Richard, On Thu, Sep 28, 2023 at 7:54 PM Richard W.M. Jones wrote: > On Thu, Sep 28, 2023 at 07:41:55PM +0800, Ming Xie wrote: > > Hi Richard, > > > > On Thu, Sep 28, 2023 at 6:14 PM Richard W.M. Jones > wrote: > > > > Ming, > > > > For some reason the build seems "stuck" at the