vhost: fix incorrect print type
PATCH 1/1 vhost: fix incorrect print type
fix incorrect print type in vhost_virtqueue_stop
--- hw/virtio/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/vhost.c +1 -1
@@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = dev->vhost_ops->vhost_get_vring_base (dev, &state);if (r <0 ) { -VHOST_OPS_DEBUG ("vhost VQ %d ring restore failed: %d" , idx, r); +VHOST_OPS_DEBUG ("vhost VQ %u ring restore failed: %d" , idx, r);/* Connection to the backend is broken, so let's sync internal * last avail idx to the device used idx. */
Signature · 1 line
2.16.2.windows.1
Quoted 12 lines · Jie Wang
fix incorrect print type in
vhost_virtqueue_stopSigned-off-by Jie Wang <[email protected]>--- hw/virtio/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost.c +0
-0
hw/virtio/vhost.c static void vhost_virtqueue_stop(struct vhost_dev *dev, · line 1084
Quoted 5 lines
hw/virtio/vhost.c +1
-1@@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = dev->vhost_ops->vhost_get_vring_base (dev, &state);if (r <0 ) { -VHOST_OPS_DEBUG ("vhost VQ %d ring restore failed: %d" , idx, r); +VHOST_OPS_DEBUG ("vhost VQ %u ring restore failed: %d" , idx, r);
'idx' is indeed unsigned.
Quoted 4 lines
hw/virtio/vhost.c +0
-0/* Connection to the backend is broken, so let's sync internal * last avail idx to the device used idx. */
Cc'ing qemu-trivial
Quoted 27 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Jie Wang
fix incorrect print type in
vhost_virtqueue_stopSigned-off-by Jie Wang <[email protected]>--- hw/virtio/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost.c +0
-0hw/virtio/vhost.c static void vhost_virtqueue_stop(struct vhost_dev *dev, · line 1084
Quoted 5 lines
hw/virtio/vhost.c +1
-1@@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = dev->vhost_ops->vhost_get_vring_base (dev, &state);if (r <0 ) { -VHOST_OPS_DEBUG ("vhost VQ %d ring restore failed: %d" , idx, r); +VHOST_OPS_DEBUG ("vhost VQ %u ring restore failed: %d" , idx, r);'idx' is indeed unsigned.
Reviewed-by Philippe Mathieu-Daudé <[email protected]>Quoted 4 lines
hw/virtio/vhost.c +0
-0/* Connection to the backend is broken, so let's sync internal * last avail idx to the device used idx. */
Laurent Vivier
AppliedLe 29/05/2019 à 15:13, Philippe Mathieu-Daudé a écrit :
Quoted 31 lines
Cc'ing qemu-trivial
Quoted 27 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Jie Wang
fix incorrect print type in
vhost_virtqueue_stopSigned-off-by Jie Wang <[email protected]>--- hw/virtio/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost.c +0
-0hw/virtio/vhost.c static void vhost_virtqueue_stop(struct vhost_dev *dev, · line 1084
Quoted 5 lines
hw/virtio/vhost.c +1
-1@@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = dev->vhost_ops->vhost_get_vring_base (dev, &state);if (r <0 ) { -VHOST_OPS_DEBUG ("vhost VQ %d ring restore failed: %d" , idx, r); +VHOST_OPS_DEBUG ("vhost VQ %u ring restore failed: %d" , idx, r);'idx' is indeed unsigned.
Reviewed-by Philippe Mathieu-Daudé <[email protected]>Quoted 4 lines
hw/virtio/vhost.c +0
-0/* Connection to the backend is broken, so let's sync internal * last avail idx to the device used idx. */
Applied to my trivial-patches branch.
Thanks,
Laurent
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
time make docker-test-mingw@fedora SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END ===
COPY RUNNER
RUN test-mingw in qemu:fedora
container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"The maximum number of active connections for UID 0 has been reached\"" /usr/bin/docker-current: Error response from daemon: oci runtime error: The maximum number of active connections for UID 0 has been reached.
Traceback (most recent call last):
File "./tests/docker/docker.py", line 615, in <module>
sys.exit(main())
The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 === TEST SCRIPT END ===
The full log is available at
http://patchew.org/logs/[email protected]/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]