aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.c
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-01-12 09:58:35 +0800
committerGerd Hoffmann <kraxel@redhat.com>2022-01-13 10:22:37 +0100
commit7cd2cfa2e6d61fac3652422f46aa77899bbeb757 (patch)
treee8023923fcc75304e0043aff0ee2b95f420ab292 /ui/vnc.c
parent5280117b1e66555a526e04c624d9e1e8e7fec1ae (diff)
downloadqemu-7cd2cfa2e6d61fac3652422f46aa77899bbeb757.zip
qemu-7cd2cfa2e6d61fac3652422f46aa77899bbeb757.tar.gz
qemu-7cd2cfa2e6d61fac3652422f46aa77899bbeb757.tar.bz2
usb: allow max 8192 bytes for desc
A device of USB video class usually uses larger desc structure, so use larger buffer to avoid failure. (dev-video.c is ready) This is an unlikely code path: 1, during guest startup, guest tries to probe device. 2, run 'lsusb' command in guest(or other similar commands). Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20220112015835.900619-1-pizhenwei@bytedance.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.c')
0 files changed, 0 insertions, 0 deletions