blob: c91d4f7d8ad2b2c272ccdfd765bcad0f95b51244 (
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
|
graphic: 0.928
device: 0.913
network: 0.853
performance: 0.825
socket: 0.802
PID: 0.790
files: 0.788
arm: 0.690
kernel: 0.666
semantic: 0.645
architecture: 0.632
ppc: 0.611
vnc: 0.533
permissions: 0.525
risc-v: 0.433
TCG: 0.410
peripherals: 0.395
hypervisor: 0.391
boot: 0.385
mistranslation: 0.383
register: 0.380
VMM: 0.361
debug: 0.332
i386: 0.331
x86: 0.270
virtual: 0.212
KVM: 0.195
user-level: 0.176
assembly: 0.123
qemu-img: GLib: g_hash_table_foreach_remove: assertion 'hash_table != NULL' failed
Description of problem:
Mixing driver=https with an http URL gives this assert fail in glib2:
```
$ ~/d/qemu/build/qemu-img convert -p -W -f qcow2 'json:{ "file.readahead": 67108864, "file.driver": "https", "file.url": "http://web/tmp/jammy-server-cloudimg-amd64.qcow2", "file.timeout":2000 }' -O raw jammy-server-cloudimg-amd64.img.raw
qemu-img: GLib: g_hash_table_foreach_remove: assertion 'hash_table != NULL' failed
qemu-img: GLib: g_hash_table_destroy: assertion 'hash_table != NULL' failed
qemu-img: Could not open 'json:{ "file.readahead": 67108864, "file.driver": "https", "file.url": "http://web/tmp/jammy-server-cloudimg-amd64.qcow2", "file.timeout":2000 }': https curl driver cannot handle the URL 'http://oirase.annexia.org/tmp/jammy-server-cloudimg-amd64.qcow2' (does not start with 'https://')
```
(It seems to be a warning rather than a crash)
Steps to reproduce:
1. Run the command above.
|