summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1239.toml
blob: ba231563d8cacd105b70bc43ed3bcd4749549d68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
id = 1239
title = "The help document of qemu-img misses some options"
state = "opened"
created_at = "2022-10-02T16:25:39.971Z"
closed_at = "n/a"
labels = ["CLI", "Storage", "workflow::Patch available"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1239"
host-os = "Ubuntu 20.04"
host-arch = "x86"
qemu-version = "version 7.1.50 (v7.1.0-524-gdbc4f48b5a)"
guest-os = "n/a"
guest-arch = "n/a"
description = """The "--help" option of qemu-img misses the option "skip-broken-bitmaps" for convert , "image-opts" for bench, "object" for dd and "force-share" for measure."""
reproduce = """1. For the option "skip-broken-bitmaps", the following code appears during option parsing for convert and modifies the skip_broken in qemu-img.c:2377-2379.

```
        case OPTION_SKIP_BROKEN:
            skip_broken = true;
            break;
```

2. For the option "image-opts", the following code appears during option parsing for bench and modifies the image_opts in qemu-img.c:4511-4513.

```
        case OPTION_IMAGE_OPTS:
            image_opts = true;
            break;
```
3. For the option "object", the following code appears during option parsing for dd and calls the user_creatable_process_cmdline in qemu-img.c:4980-4982.

```
        case OPTION_OBJECT:
            user_creatable_process_cmdline(optarg);
            break;
```
4. For the option "force-share", the following code appears during option parsing for measure and modifies the force_share in qemu-img.c:5237-5239.
```
        case 'U':
            force_share = true;
            break;
```"""
additional = """But they do not appear in the document provided by "--help".

It may prevent users from using the relevant function."""