virtio-gpu: fix error message
iov limit was raised, but the error message still has the old limit ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
d8e3b729cf
commit
2c84167b4e
|
@ -534,7 +534,7 @@ int virtio_gpu_create_mapping_iov(struct virtio_gpu_resource_attach_backing *ab,
|
||||||
|
|
||||||
if (ab->nr_entries > 16384) {
|
if (ab->nr_entries > 16384) {
|
||||||
qemu_log_mask(LOG_GUEST_ERROR,
|
qemu_log_mask(LOG_GUEST_ERROR,
|
||||||
"%s: nr_entries is too big (%d > 1024)\n",
|
"%s: nr_entries is too big (%d > 16384)\n",
|
||||||
__func__, ab->nr_entries);
|
__func__, ab->nr_entries);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue