]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qemu-iotests/233.out
qemu-nbd: Use program name in error messages
[mirror_qemu.git] / tests / qemu-iotests / 233.out
1 QA output created by 233
2
3 == preparing TLS creds ==
4 Generating a self signed certificate...
5 Generating a self signed certificate...
6 Generating a signed certificate...
7 Generating a signed certificate...
8 Generating a signed certificate...
9
10 == preparing image ==
11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
12 wrote 1048576/1048576 bytes at offset 1048576
13 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14
15 == check TLS client to plain server fails ==
16 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
17 server reported: TLS not configured
18
19 == check plain client to TLS server fails ==
20 qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
21 server reported: Option 0x8 not permitted before TLS
22
23 == check TLS works ==
24 image: nbd://127.0.0.1:PORT
25 file format: nbd
26 virtual size: 64M (67108864 bytes)
27 disk size: unavailable
28
29 == check TLS with different CA fails ==
30 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
31 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
32
33 == perform I/O over TLS ==
34 read 1048576/1048576 bytes at offset 1048576
35 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
36 wrote 1048576/1048576 bytes at offset 1048576
37 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38 read 1048576/1048576 bytes at offset 1048576
39 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40 *** done