Type: series Message-id: 1594913503-52271-1-git-send-email-thanos.makatos@nutanix.com Subject: [PATCH] introduce VFIO-over-socket protocol specificaion === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked under the git checkout with # HEAD pointing to a commit that has the patches applied on top of "base" # branch if qemu-system-x86_64 --help >/dev/null 2>&1; then QEMU=qemu-system-x86_64 elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then QEMU=/usr/libexec/qemu-kvm else exit 1 fi make vm-build-freebsd J=21 QEMU=$QEMU exit 0 === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 From https://github.com/patchew-project/qemu - [tag update] patchew/20200630122710.1119158-1-ppandit@redhat.com -> patchew/20200630122710.1119158-1-ppandit@redhat.com - [tag update] patchew/20200716144251.23004-1-lersek@redhat.com -> patchew/20200716144251.23004-1-lersek@redhat.com Switched to a new branch 'test' aa6155e introduce VFIO-over-socket protocol specificaion === OUTPUT BEGIN === VM-IMAGE freebsd ### Downloading install iso ... ### Preparing iso and disk image ... /home/patchew/.cache/qemu-vm/images/freebsd.img.install.iso.xz (1/1) 0.9 % 5.2 MiB / 20.1 MiB = 0.260 0:01 0.9 % 5.2 MiB / 20.1 MiB = 0.260 0:02 1.1 % 6.9 MiB / 26.6 MiB = 0.261 7.7 MiB/s 0:03 1.7 % 10.1 MiB / 36.7 MiB = 0.275 8.2 MiB/s 0:04 2.1 % 12.8 MiB / 42.8 MiB = 0.299 7.9 MiB/s 0:05 3.2 % 19.8 MiB / 74.3 MiB = 0.266 12 MiB/s 0:06 4.3 % 26.5 MiB / 99.0 MiB = 0.267 13 MiB/s 0:07 5.3 % 32.7 MiB / 119.5 MiB = 0.273 14 MiB/s 0:08 2 min 30 s 5.8 % 35.3 MiB / 126.3 MiB = 0.280 13 MiB/s 0:09 2 min 40 s 6.6 % 40.0 MiB / 146.4 MiB = 0.274 14 MiB/s 0:10 2 min 30 s 7.7 % 47.2 MiB / 174.2 MiB = 0.271 15 MiB/s 0:11 2 min 20 s 14.9 % 90.7 MiB / 237.1 MiB = 0.382 19 MiB/s 0:12 1 min 20 s 22.1 % 134.8 MiB / 281.3 MiB = 0.479 21 MiB/s 0:13 50 s 38.2 % 233.3 MiB / 379.8 MiB = 0.614 26 MiB/s 0:14 25 s 46.9 % 286.6 MiB / 433.1 MiB = 0.662 28 MiB/s 0:15 20 s 47.7 % 291.4 MiB / 437.9 MiB = 0.665 26 MiB/s 0:16 20 s 61.4 % 375.0 MiB / 521.5 MiB = 0.719 29 MiB/s 0:17 15 s 73.4 % 448.0 MiB / 594.5 MiB = 0.754 32 MiB/s 0:18 6 s 91.0 % 555.7 MiB / 702.1 MiB = 0.791 36 MiB/s 0:19 1 s 95.8 % 584.8 MiB / 733.0 MiB = 0.798 35 MiB/s 0:20 1 s 96.7 % 590.5 MiB / 760.1 MiB = 0.777 35 MiB/s 0:21 1 s 97.2 % 593.6 MiB / 772.6 MiB = 0.768 34 MiB/s 0:22 1 s 97.7 % 596.8 MiB / 826.9 MiB = 0.722 35 MiB/s 0:23 1 s 99.0 % 604.5 MiB / 841.1 MiB = 0.719 34 MiB/s 0:24 1 s 99.6 % 608.4 MiB / 858.1 MiB = 0.709 33 MiB/s 0:25 1 s 100 % 610.0 MiB / 867.9 MiB = 0.703 33 MiB/s 0:26 Formatting '/home/patchew/.cache/qemu-vm/images/freebsd.img.tmp', fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16 ### Booting installer ... ERROR:root:Failed to launch QEMU, command line: ERROR:root:/usr/libexec/qemu-kvm -nodefaults -m 4G -cpu max -netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 12 -enable-kvm -drive file=/home/patchew/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 -bios pc-bios/bios-256k.bin -machine graphics=off -device VGA -cdrom /home/patchew/.cache/qemu-vm/images/freebsd.img.install.iso ERROR:root:Log: ERROR:root:qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory ERROR:root:QEMU version >= 2.10 is required Failed to prepare guest environment Traceback (most recent call last): File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/basevm.py", line 628, in main return vm.build_image(args.image) File "tests/vm/freebsd", line 95, in build_image "-cdrom", iso File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/basevm.py", line 289, in boot guest.launch() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/machine.py", line 343, in launch self._launch() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/machine.py", line 370, in _launch self._post_launch() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/machine.py", line 289, in _post_launch self._qmp.accept() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/qmp.py", line 236, in accept return self.__negotiate_capabilities() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/qmp.py", line 129, in __negotiate_capabilities resp = self.cmd('qmp_capabilities') File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/qmp.py", line 266, in cmd return self.cmd_obj(qmp_cmd) File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/qmp.py", line 247, in cmd_obj resp = self.__json_read() File "/var/tmp/patchew-tester-tmp-ydn8y70o/src/tests/vm/../../python/qemu/qmp.py", line 137, in __json_read data = self.__sockfile.readline() File "/opt/rh/rh-python36/root/usr/lib64/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer make: *** [/home/patchew/.cache/qemu-vm/images/freebsd.img] Error 2 === OUTPUT END === Test command exited with code: 0