[PULL 42/57] qemu-img: convert: refresh options/--help (short option change)

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output. Reorder options for consistency. Use -b for --backing, and recognize -B for backwards compatibility. Unfortunately we can't use -B to specify backing format. Signed-off-by: Michael Tokarev Message-ID: <20250715140702.

[PULL 48/57] qemu-img: rebase: refresh options/--help (short option change)

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Use -B for --backing-format, keep -F for backwards compatibility. Options added: --format, --cache - for the image in question --backing, --backing-format, --backing-cache, --backing-unsafe

[PULL 55/57] qemu-img: measure: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Also add -s short option for --size (and remove OPTION_SIZE). Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-26-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by:

[PULL 50/57] qemu-img: resize: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-21-...@tls.msk.ru> [kwolf: Fixed up qemu-iotests] Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu

[PULL 37/57] qemu-img: check: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-8-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.

[PULL 47/57] qemu-img: snapshot: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-18-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.

[PULL 44/57] qemu-img: map: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev Message-ID: <20250715140903.131529-1-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevi

[PULL 54/57] qemu-img: dd: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-25-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.

[PULL 51/57] qemu-img: amend: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-22-...@tls.msk.ru> [kwolf: Fixed up qemu-iotests] Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu

[PULL 56/57] qemu-img: implement short --help, remove global help() function

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev now once all individual subcommands has --help support, remove the large unreadable help() thing and replace it with small global --help, which refers to individual command --help for more info. While at it, also line-wrap list of formats after 75 chars. Since

[PULL 35/57] qemu-img: create: refresh options/--help (short option change)

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Create helper function cmd_help() to display command-specific help text, and use it to print --help for 'create' subcommand. Add missing long options (eg --format) in img_create(). Recognize -B option for --backing-format, keep -F for backward compatibility

[PULL 53/57] qemu-img: bitmap: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-24-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.

[PULL 41/57] qemu-img: compare: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add long options, add help, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-12-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.

[PULL 52/57] qemu-img: bench: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Add missing --object option. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-23-...@tls.msk.ru> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu-img.c

[PULL 43/57] qemu-img: info: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output. Also add -b short option for --backing-chain, and remove now-unused OPTION_BACKING_CHAIN. Reorder options for consistency. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev Message-ID

[PULL 39/57] qemu-img: commit: refresh options/--help

2025-07-15 Thread Kevin Wolf
From: Michael Tokarev Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev Message-ID: <20250531171609.197078-10-...@tls.msk.ru> [kwolf: Fixed up qemu-iotests] Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- qemu

[PATCH 12/27] qemu-img: convert: refresh options/--help (short option change)

2025-07-15 Thread Michael Tokarev
Add missing long options and --help output. Reorder options for consistency. Use -b for --backing, and recognize -B for backwards compatibility. Unfortunately we can't use -B to specify backing format. Signed-off-by: Michael Tokarev --- docs/tools/qemu-img.rst | 2 +- qemu-

[PATCH 14/27] qemu-img: map: refresh options/--help

2025-07-15 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev --- qemu-img.c | 59 +++--- 1 file changed, 38 insertions(+), 21 deletions(-) diff

Re: [PATCH 14/27] qemu-img: map: refresh options/--help

2025-07-15 Thread Michael Tokarev
On 15.07.2025 16:07, Kevin Wolf wrote: +" --start-offset OFFSET\n" -s, --start-offset +" --max-length LENGTH\n" -l, --max-length These are also undocumented. Lemme add some info for them.. /mjt

Re: [PATCH 14/27] qemu-img: map: refresh options/--help

2025-07-15 Thread Kevin Wolf
Am 31.05.2025 um 19:15 hat Michael Tokarev geschrieben: > Add missing long options and --help output, > reorder options for consistency. > > While at it, remove unused option_index variable. > > Signed-off-by: Michael Tokarev > -

Re: [PATCH 13/27] qemu-img: info: refresh options/--help

2025-07-15 Thread Kevin Wolf
Am 31.05.2025 um 19:15 hat Michael Tokarev geschrieben: > Add missing long options and --help output. > Also add -b short option for --backing-chain, and remove > now-unused OPTION_BACKING_CHAIN. I think I wouldn't do this part, -b specifies a backing file name elsewhere, so this

[PULL v2 13/13] tpm: "qemu -tpmdev help" should return success

2025-07-14 Thread marcandre . lureau
From: Marc-André Lureau Like other "-foo help" CLI, the qemu process should return 0 for "-tpmdev help". While touching this, switch to is_help_option() utility function as suggested by Peter Maydell. Signed-off-by: Marc-André Lureau Reviewed-by: Peter Maydell Reviewed-

[PULL 13/13] tpm: "qemu -tpmdev help" should return success

2025-07-14 Thread marcandre . lureau
From: Marc-André Lureau Like other "-foo help" CLI, the qemu process should return 0 for "-tpmdev help". While touching this, switch to is_help_option() utility function as suggested by Peter Maydell. Signed-off-by: Marc-André Lureau Reviewed-by: Peter Maydell Reviewed-

Re: [PATCH v2] tpm: "qemu -tpmdev help" should return success

2025-07-07 Thread Philippe Mathieu-Daudé
On 7/7/25 12:14, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau Like other "-foo help" CLI, the qemu process should return 0 for "-tpmdev help". While touching this, switch to is_help_option() utility function as suggested by Peter Maydell. Signed-off-b

Re: [PATCH v2] tpm: "qemu -tpmdev help" should return success

2025-07-07 Thread Peter Maydell
On Mon, 7 Jul 2025 at 11:14, wrote: > > From: Marc-André Lureau > > Like other "-foo help" CLI, the qemu process should return 0 for > "-tpmdev help". > > While touching this, switch to is_help_option() utility function as > suggested by Peter M

[PATCH v2] tpm: "qemu -tpmdev help" should return success

2025-07-07 Thread marcandre . lureau
From: Marc-André Lureau Like other "-foo help" CLI, the qemu process should return 0 for "-tpmdev help". While touching this, switch to is_help_option() utility function as suggested by Peter Maydell. Signed-off-by: Marc-André Lureau --- system/tpm.c | 5 +++-- 1 file c

Re: [PATCH] tpm: "qemu -tpmdev help" should return success

2025-07-07 Thread Peter Maydell
On Mon, 7 Jul 2025 at 10:57, wrote: > > From: Marc-André Lureau > > Like other "-foo help" CLI, the qemu process should return 0 for > "-tpmdev help". > > Signed-off-by: Marc-André Lureau > --- > system/tpm.c | 2 +- > 1 file changed, 1 inserti

[PATCH] tpm: "qemu -tpmdev help" should return success

2025-07-07 Thread marcandre . lureau
From: Marc-André Lureau Like other "-foo help" CLI, the qemu process should return 0 for "-tpmdev help". Signed-off-by: Marc-André Lureau --- system/tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/tpm.c b/system/tpm.c index 8df0f6e72b..5f1

Re: [PATCH 07/27] qemu-img: check: refresh options/--help

2025-06-02 Thread Kevin Wolf
Am 31.05.2025 um 18:51 hat Michael Tokarev geschrieben: > On 13.05.2025 18:54, Kevin Wolf wrote: > > Am 27.09.2024 um 08:11 hat Michael Tokarev geschrieben: > > > Add missing long options and --help output. > ... > > > +" --image-opts\n" > > > +

[PATCH 20/27] qemu-img: resize: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 52 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f655c301af

[PATCH 25/27] qemu-img: measure: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Also add -s short option for --size (and remove OPTION_SIZE). Signed-off-by: Michael Tokarev --- qemu-img.c | 89 +- 1 file changed, 62 insertions(+), 27 deletions

[PATCH 09/27] qemu-img: commit: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 68 ++ 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index c8ce206b73

[PATCH 17/27] qemu-img: snapshot: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 60 +++--- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 8fbf0c67a7

[PATCH 26/27] qemu-img: implement short --help, remove global help() function

2025-05-31 Thread Michael Tokarev
now once all individual subcommands has --help support, remove the large unreadable help() thing and replace it with small global --help, which refers to individual command --help for more info. While at it, also line-wrap list of formats after 75 chars. Since missing_argument() and

[PATCH 24/27] qemu-img: dd: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 50 -- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 97ce51a1c3

[PATCH 22/27] qemu-img: bench: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Add missing --object option. Signed-off-by: Michael Tokarev --- qemu-img.c | 112 +++-- 1 file changed, 84 insertions(+), 28 deletions(-) diff --git a/qemu-img.c b/qemu

[PATCH 18/27] qemu-img: rebase: refresh options/--help (short option change)

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Use -B for --backing-format, keep -F for backwards compatibility. Options added: --format, --cache - for the image in question --backing, --backing-format, --backing-cache, --backing-unsafe - for the new backing

[PATCH 14/27] qemu-img: map: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev --- qemu-img.c | 57 ++ 1 file changed, 36 insertions(+), 21 deletions(-) diff

[PATCH 23/27] qemu-img: bitmap: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 80 ++ 1 file changed, 56 insertions(+), 24 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 5011ec5fce

[PATCH 07/27] qemu-img: check: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 60 +- 1 file changed, 41 insertions(+), 19 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index a26498a4e8

[PATCH 11/27] qemu-img: compare: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add long options, add help, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 64 +++--- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index c24e1fb455..70573b79b5 100644

[PATCH 21/27] qemu-img: amend: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output, reorder options for consistency. Signed-off-by: Michael Tokarev --- qemu-img.c | 54 +++--- 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 3dbfce527b

[PATCH 13/27] qemu-img: info: refresh options/--help

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output. Also add -b short option for --backing-chain, and remove now-unused OPTION_BACKING_CHAIN. Reorder options for consistency. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev --- qemu-img.c | 54

[PATCH 12/27] qemu-img: convert: refresh options/--help (short option change)

2025-05-31 Thread Michael Tokarev
Add missing long options and --help output. Reorder options for consistency. Use -b for --backing, and recognize -B for backwards compatibility. Unfortunately we can't use -B to specify backing format. Signed-off-by: Michael Tokarev --- docs/tools/qemu-img.rst | 2 +- qemu-

[PATCH 05/27] qemu-img: create: refresh options/--help (short option change)

2025-05-31 Thread Michael Tokarev
Create helper function cmd_help() to display command-specific help text, and use it to print --help for 'create' subcommand. Add missing long options (eg --format) in img_create(). Recognize -B option for --backing-format, keep -F for backward compatibility, Reorder options for c

Re: [PATCH 07/27] qemu-img: check: refresh options/--help

2025-05-31 Thread Michael Tokarev
On 13.05.2025 18:54, Kevin Wolf wrote: Am 27.09.2024 um 08:11 hat Michael Tokarev geschrieben: Add missing long options and --help output. ... +" --image-opts\n" +" indicates that FILENAME is a complete image specification\n" +" instead of a file name (inco

Re: [PATCH 07/27] qemu-img: check: refresh options/--help

2025-05-15 Thread Kevin Wolf
ot; > > > +"[--output human|json] [--object OBJDEF] FILENAME\n" > > > +, > > > +" -q, --quiet\n" > > > +" quiet operations\n" > > > > Let's keep the help text more in line with the terminology used in the >

Re: [PATCH 07/27] qemu-img: check: refresh options/--help

2025-05-14 Thread Michael Tokarev
uot; +" quiet operations\n" Let's keep the help text more in line with the terminology used in the man page, even if shorter at times. I haven't touched the man page for a reason, - I wasn't sure I understood all the options correctly. And the man pages were the next plan

Re: [PATCH 09/27] qemu-img: commit: refresh options/--help

2025-05-13 Thread Kevin Wolf
Am 27.09.2024 um 08:11 hat Michael Tokarev geschrieben: > Add missing long options and --help output. > > Signed-off-by: Michael Tokarev > --- > qemu-img.c | 44 > 1 file changed, 36 insertions(+), 8 deletions(-) > > diff -

Re: [PATCH 07/27] qemu-img: check: refresh options/--help

2025-05-13 Thread Kevin Wolf
Am 27.09.2024 um 08:11 hat Michael Tokarev geschrieben: > Add missing long options and --help output. > > Signed-off-by: Michael Tokarev > --- > qemu-img.c | 38 ++ > 1 file changed, 30 insertions(+), 8 deletions(-) > > diff --git a

[PULL 01/34] qom: Use command line syntax for default values in help

2025-02-27 Thread Paolo Bonzini
From: Akihiko Odaki object_property_help() uses the conventional command line syntax instead of the JSON syntax. In particular, - Key-value pairs are written in the command line syntax. - bool description passed to the function says on/off instead of true/false. However, there is one exception

Re: Seeking help on implementing sync over ivshmem shared memory

2025-02-25 Thread Alex Bennée
Jayakrishnan A writes: > Hi Team , > > Seeking help on implementing sync over ivshmem shared memory , As part of > internal project we could able to achieve > shared ivshmem with doorbell mechanism ,But in order to achieve shared memory > synchronisation we are trying to add

Re: Seeking help on implementing sync over ivshmem shared memory

2025-02-24 Thread Jayakrishnan A
Thanks for your support . It will be a great help for us . On Mon, 24 Feb 2025 at 3:03 PM, Philippe Mathieu-Daudé wrote: > Cc'ing Gustavo who maintains the IVSHMEM device. > > On 23/2/25 15:48, Jayakrishnan A wrote: > > Hi Team , > > > > Seeking help on imple

Re: Seeking help on implementing sync over ivshmem shared memory

2025-02-24 Thread Philippe Mathieu-Daudé
Cc'ing Gustavo who maintains the IVSHMEM device. On 23/2/25 15:48, Jayakrishnan A wrote: Hi Team , Seeking help on implementing sync over ivshmem shared memory , As part of internal project we could able to achieve shared ivshmem with doorbell mechanism ,But in order to achieve shared m

Seeking help on implementing sync over ivshmem shared memory

2025-02-23 Thread Jayakrishnan A
Hi Team , Seeking help on implementing sync over ivshmem shared memory , As part of internal project we could able to achieve shared ivshmem with doorbell mechanism ,But in order to achieve shared memory synchronisation we are trying to add atomic operation over this shared memory area variables

Re: [PATCH] qom: Use command line syntax for default values in help

2025-02-20 Thread Michael S. Tsirkin
On Fri, Feb 07, 2025 at 02:53:43PM +0900, Akihiko Odaki wrote: > object_property_help() uses the conventional command line syntax instead > of the JSON syntax. In particular, > - Key-value pairs are written in the command line syntax. > - bool description passed to the function says on/off instead

Re: [PATCH] qom: Use command line syntax for default values in help

2025-02-14 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH] qom: Use command line syntax for default values in help

2025-02-14 Thread Markus Armbruster
Akihiko Odaki writes: > object_property_help() uses the conventional command line syntax instead > of the JSON syntax. In particular, > - Key-value pairs are written in the command line syntax. > - bool description passed to the function says on/off instead of > true/false. > > However, there i

[PATCH] qom: Use command line syntax for default values in help

2025-02-06 Thread Akihiko Odaki
object_property_help() uses the conventional command line syntax instead of the JSON syntax. In particular, - Key-value pairs are written in the command line syntax. - bool description passed to the function says on/off instead of true/false. However, there is one exception: default values are f

[PULL 28/32] tests/vm: partially un-tabify help output

2025-01-10 Thread Alex Bennée
While the make syntax itself uses tabs having a mixture of tabs and spaces in the vm-help output make no sense and confuses things lining up between terminal and editor. Fix that. Reviewed-by: Thomas Huth Signed-off-by: Alex Bennée Message-Id: <20250108121054.1126164-29-alex.ben...@linaro.

Re: [PATCH v4 28/32] tests/vm: partially un-tabify help output

2025-01-08 Thread Thomas Huth
On 08/01/2025 13.10, Alex Bennée wrote: While the make syntax itself uses tabs having a mixture of tabs and spaces in the vm-help output make no sense and confuses things lining up between terminal and editor. Fix that. Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 26

[PATCH v4 28/32] tests/vm: partially un-tabify help output

2025-01-08 Thread Alex Bennée
While the make syntax itself uses tabs having a mixture of tabs and spaces in the vm-help output make no sense and confuses things lining up between terminal and editor. Fix that. Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 26 +- 1 file changed, 13

[PATCH v3 25/29] tests/vm: partially un-tabify help output

2025-01-07 Thread Alex Bennée
While the make syntax itself uses tabs having a mixture of tabs and spaces in the vm-help output make no sense and confuses things lining up between terminal and editor. Fix that. Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 26 +- 1 file changed, 13

[PATCH v2 25/27] tests/vm: partially un-tabify help output

2024-12-18 Thread Alex Bennée
While the make syntax itself uses tabs having a mixture of tabs and spaces in the vm-help output make no sense and confuses things lining up between terminal and editor. Fix that. Signed-off-by: Alex Bennée --- tests/vm/Makefile.include | 26 +- 1 file changed, 13

Re: [PATCH 05/27] qemu-img: create: refresh options/--help

2024-11-05 Thread Kevin Wolf
Am 27.09.2024 um 08:10 hat Michael Tokarev geschrieben: > Create helper function cmd_help() to display command-specific > help text, and use it to print --help for 'create' subcommand. > > Add missing long options (eg --format) in img_create(). > > Remo

Re: [PATCH resend v3 00/27] qemu-img: refersh options and --help handling, cleanups

2024-10-22 Thread Michael Tokarev
appropriate for some reason. Complete silence for half a year isn't really nice, I think :) Quite big patchset trying to implement normal, readable qemu-img --help (and qemu-img COMMAND --help) output with readable descriptions, and adding many long options in the process. In the

Re: Looking for help and advice on using RPMSG-over-VIRTIO

2024-09-30 Thread Doug Miller
the host would setup the RPMSG device needed for this. I have seen at least one bug in virtio_rpmsg_bus that was discovered and fixed by qemu developers, and so am hoping there may be some experience with rpmsg here that can help. I see an example in the Linux kernel for using rpmsg from the guest

[PATCH 20/27] qemu-img: amend: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 688c01722c..76000c485c 100644 --- a/qemu-img.c +++ b/qemu-img.c

[PATCH 09/27] qemu-img: commit: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 44 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 9157a6b45d..7a111bce72 100644 --- a/qemu-img.c +++ b/qemu

[PATCH 10/27] qemu-img: compare: refresh options/--help

2024-09-26 Thread Michael Tokarev
img_compare(const img_cmd_t *ccmd, int argc, char **argv) for (;;) { static const struct option long_options[] = { {"help", no_argument, 0, 'h'}, +{"quiet", no_argument, 0, 'q'}, {"object", required

[PATCH 24/27] qemu-img: measure: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Also add -s short option for --size (and remove OPTION_SIZE). Signed-off-by: Michael Tokarev --- qemu-img.c | 53 - 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/qemu-img.c b/qemu

[PATCH 19/27] qemu-img: resize: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 38 +- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index da10fafffc..688c01722c 100644 --- a/qemu-img.c +++ b/qemu-img.c

[PATCH 07/27] qemu-img: check: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 38 ++ 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 08536553c7..1bd88fcf63 100644 --- a/qemu-img.c +++ b/qemu-img.c

[PATCH 25/27] qemu-img: implement short --help, remove global help() function

2024-09-26 Thread Michael Tokarev
now once all individual subcommands has --help support, remove the large unreadable help() thing and replace it with small global --help, which refers to individual command --help for more info. While at it, also line-wrap list of formats after 75 chars. Since missing_argument() and

[PATCH 13/27] qemu-img: map: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev --- qemu-img.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 34c4cd86de

[PATCH 22/27] qemu-img: bitmap: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 40 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index fff537df26..7c20a5772d 100644 --- a/qemu-img.c +++ b/qemu-img.c

[PATCH 21/27] qemu-img: bench: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 64 +- 1 file changed, 54 insertions(+), 10 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 76000c485c..fff537df26 100644 --- a/qemu-img.c

[PATCH 16/27] qemu-img: snapshot: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 45 - 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 967f6343de..62f9ce4069 100644 --- a/qemu-img.c +++ b/qemu

[PATCH 17/27] qemu-img: rebase: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Options added: --format, --cache - for the image in question --backing, --backing-format, --backing-cache, --backing-unsafe - for the new backing file (was eg CACHE vs SRC_CACHE, which is unclear). Probably should rename local variables. Signed

[PATCH 23/27] qemu-img: dd: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 39 +-- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 7c20a5772d..b3e521bc09 100644 --- a/qemu-img.c +++ b/qemu-img.c

[PATCH 11/27] qemu-img: convert: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. convert uses -B for --backing, - why not -b? Signed-off-by: Michael Tokarev --- qemu-img.c | 90 -- 1 file changed, 81 insertions(+), 9 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index

[PATCH resend v3 00/27] qemu-img: refersh options and --help handling, cleanups

2024-09-26 Thread Michael Tokarev
isn't really nice, I think :) Quite big patchset trying to implement normal, readable qemu-img --help (and qemu-img COMMAND --help) output with readable descriptions, and adding many long options in the process. In the end I stopped using qemu-img-opts.hx in qemu-img.c, perhaps this c

[PATCH 12/27] qemu-img: info: refresh options/--help

2024-09-26 Thread Michael Tokarev
Add missing long options and --help output. Also add -b short option for --backing-chain, and remove now-unused OPTION_BACKING_CHAIN. While at it, remove unused option_index variable. Signed-off-by: Michael Tokarev --- qemu-img.c | 40 +++- 1 file changed

[PATCH 05/27] qemu-img: create: refresh options/--help

2024-09-26 Thread Michael Tokarev
Create helper function cmd_help() to display command-specific help text, and use it to print --help for 'create' subcommand. Add missing long options (eg --format) in img_create(). Remove usage of missing_argument()/unrecognized_option() in img_create(). Signed-off-by: Micha

Looking for help and advice on using RPMSG-over-VIRTIO

2024-09-19 Thread Doug Miller
for this. I have seen at least one bug in virtio_rpmsg_bus that was discovered and fixed by qemu developers, and so am hoping there may be some experience with rpmsg here that can help. I see an example in the Linux kernel for using rpmsg from the guest (client) side, in samples/rpmsg

[Stable-9.0.3 51/69] net: Fix '-net nic, model=' for non-help arguments

2024-09-06 Thread Michael Tokarev
From: David Woodhouse Oops, don't *delete* the model option when checking for 'help'. Fixes: 64f75f57f9d2 ("net: Reinstate '-net nic, model=help' output as documented in man page") Reported-by: Hans Signed-off-by: David Woodhouse Cc: qemu-sta...@nong

[Stable-9.0.3 35/69] net: Reinstate '-net nic, model=help' output as documented in man page

2024-09-06 Thread Michael Tokarev
From: David Woodhouse While refactoring the NIC initialization code, I broke '-net nic,model=help' which no longer outputs a list of available NIC models. Fixes: 2cdeca04adab ("net: report list of available models according to platform") Cc: qemu-sta...@nongnu.org

[PULL 10/42] tests/Makefile.include: Increase the level of indentation in the help text

2024-09-04 Thread Thomas Huth
The next patch is going to add some entries that need more space between the command and the help text, so let's increase the indentation here first. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Message-ID: <20240830133841.1426

[PATCH v5 10/44] tests/Makefile.include: Increase the level of indentation in the help text

2024-08-30 Thread Thomas Huth
The next patch is going to add some entries that need more space between the command and the help text, so let's increase the indentation here first. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Signed-off-by: Thomas Huth ---

[PATCH v4 10/35] tests/Makefile.include: Increase the level of indentation in the help text

2024-08-21 Thread Thomas Huth
The next patch is going to add some entries that need more space between the command and the help text, so let's increase the indentation here first. Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Signed-off-by: Thomas Huth ---

Re: [PULL 1/1] net: Fix '-net nic,model=' for non-help arguments

2024-08-12 Thread David Woodhouse
On Mon, 2024-08-12 at 11:25 +0100, Peter Maydell wrote: > > Will this also fix > https://gitlab.com/qemu-project/qemu/-/issues/2496 ? Almost certainly, yes. smime.p7s Description: S/MIME cryptographic signature

Re: [PULL 1/1] net: Fix '-net nic,model=' for non-help arguments

2024-08-12 Thread Peter Maydell
On Mon, 12 Aug 2024 at 08:29, Jason Wang wrote: > > From: David Woodhouse > > Oops, don't *delete* the model option when checking for 'help'. > > Fixes: 64f75f57f9d2 ("net: Reinstate '-net nic, model=help' output as > documented in man

Re: [PATCH] net: Fix '-net nic,model=' for non-help arguments

2024-08-12 Thread Jason Wang
On Sun, Aug 11, 2024 at 3:40 PM Michael Tokarev wrote: > > 06.08.2024 20:21, David Woodhouse wrote: > > From: David Woodhouse > > > > Oops, don't *delete* the model option when checking for 'help'. > > > > Fixes: 64f75f57f9d2 ("net: Reins

[PULL 1/1] net: Fix '-net nic,model=' for non-help arguments

2024-08-12 Thread Jason Wang
From: David Woodhouse Oops, don't *delete* the model option when checking for 'help'. Fixes: 64f75f57f9d2 ("net: Reinstate '-net nic, model=help' output as documented in man page") Reported-by: Hans Signed-off-by: David Woodhouse Cc: qemu-sta...@nong

Re: [PATCH] net: Fix '-net nic,model=' for non-help arguments

2024-08-11 Thread Michael Tokarev
06.08.2024 20:21, David Woodhouse wrote: From: David Woodhouse Oops, don't *delete* the model option when checking for 'help'. Fixes: 64f75f57f9d2 ("net: Reinstate '-net nic, model=help' output as documented in man page") Reported-by: Hans Signed-of

[PATCH] net: Fix '-net nic,model=' for non-help arguments

2024-08-06 Thread David Woodhouse
From: David Woodhouse Oops, don't *delete* the model option when checking for 'help'. Fixes: 64f75f57f9d2 ("net: Reinstate '-net nic, model=help' output as documented in man page") Reported-by: Hans Signed-off-by: David Woodhouse Cc: qemu-sta...@nongnu.org

[PULL 24/28] ui/console: Note in '-display help' that some backends support suboptions

2024-08-06 Thread Philippe Mathieu-Daudé
From: Peter Maydell Currently '-display help' only prints the available backends. Some of those backends support suboptions (e.g. '-display gtk,gl=on'). Mention that in the help output, and point the user to where they might be able to find more information about the subopt

Re: [PATCH 3/3] ui/console: Note in '-display help' that some backends support suboptions

2024-08-06 Thread Philippe Mathieu-Daudé
On 31/7/24 17:41, Peter Maydell wrote: Currently '-display help' only prints the available backends. Some of those backends support suboptions (e.g. '-display gtk,gl=on'). Mention that in the help output, and point the user to where they might be able to find more i

[PULL 8/8] net: Reinstate '-net nic, model=help' output as documented in man page

2024-08-01 Thread Jason Wang
From: David Woodhouse While refactoring the NIC initialization code, I broke '-net nic,model=help' which no longer outputs a list of available NIC models. Fixes: 2cdeca04adab ("net: report list of available models according to platform") Cc: qemu-sta...@nongnu.org

Re: [PATCH v3 04/24] tests/Makefile.include: Increase the level of indentation in the help text

2024-08-01 Thread Alex Bennée
Daniel P. Berrangé writes: > From: Thomas Huth > > The next patch is going to add some entries that need more space between > the command and the help text, so let's increase the indentation here > first. > > Reviewed-by: Philippe Mathieu-Daudé > Signed-off-by: Th

  1   2   3   4   5   6   7   8   9   10   >