Re: [Libguestfs] [PATCH libnbd 3/5] common: Combine human-size.h headers into one

2023-10-06 Thread Eric Blake
On Sun, Sep 03, 2023 at 04:23:23PM +0100, Richard W.M. Jones wrote: > Copy the human_size() function from common/utils/ into the new > human-size.h header in common/include/. Remove human-size.c and > combine the tests into one. > --- > common/include/human-size.h | 51 ++ Th

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

2023-10-06 Thread Eric Blake
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: block_size_preferred: 32768 to post-patch: block_size_preferred: 32768 (32K) Sign

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

2023-10-06 Thread Eric Blake
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 insertions(+), 8 deletions(-) diff --git a/common/include/human-size.h b/com

[Libguestfs] [libnbd PATCH 0/2] Improve nbdinfo display of block constraints

2023-10-06 Thread Eric Blake
Based on Laszlo's approval of my idea here: https://listman.redhat.com/archives/libguestfs/2023-September/032661.html but as I would like to resync human-size.h back to nbdkit, I'm reluctant to apply patch 1 this until I get Rich's consent to relicensing (this email serves as my consent for my con

Re: [Libguestfs] [PATCH libnbd 3/5] common: Combine human-size.h headers into one

2023-10-06 Thread Richard W.M. Jones
On Fri, Oct 06, 2023 at 09:18:31AM -0500, Eric Blake wrote: > On Sun, Sep 03, 2023 at 04:23:23PM +0100, Richard W.M. Jones wrote: > > Copy the human_size() function from common/utils/ into the new > > human-size.h header in common/include/. Remove human-size.c and > > combine the tests into one. >

Re: [Libguestfs] Some comments on the libnbd apk in Alpine

2023-10-06 Thread Sean McAvoy
Hi Richard, the package in Alpine (edge) has recently been updated to 1.18.0. The mirrors should reflect that soon Thanks, Sean On Sat, Sep 23, 2023 at 6:11 AM Richard W.M. Jones wrote: > > On Sat, Sep 23, 2023 at 11:39:12AM +0200, Sean McAvoy wrote: > > Hello Richard, > > I have updated the v

Re: [Libguestfs] Some comments on the libnbd apk in Alpine

2023-10-06 Thread Richard W.M. Jones
On Fri, Oct 06, 2023 at 03:54:46PM -0400, Sean McAvoy wrote: > Hi Richard, > the package in Alpine (edge) has recently been updated to 1.18.0. The > mirrors should reflect that soon Thank you Rich. > > Thanks, > > Sean > > On Sat, Sep 23, 2023 at 6:11 AM Richard W.M. Jones wrote: > > > > On

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

2023-10-06 Thread Ming Xie
Hi Lee, On Thu, Sep 28, 2023 at 10:55 PM Lee Garrett wrote: > (resend, as it bounced on tyan-...@redhat.com) > > Hi Ming, > > On 27.09.23 14:46, Ming Xie wrote: > > Hi Richard, > > > > Sorry, I missed the email, I found out that the ova OS used by the > customer is > > win11 uefi, so I tried to