On Fri, Apr 01, Max Reitz wrote: > In any case, do you have a test case where a guest was able to submit a > request that led to the overflow error you described in the commit message?
mkfs -t ext4 /dev/sdb1 in a xen guest with qcow2 as backing device. When I added discard support to libxl I worked with raw images, so I did not notice this. Not sure why it happens to work in kvm guests. I assume the frontend driver just works around the qemu bug by limiting its request size. Olaf
