diff options
| author | Aneesh Kumar K.V | 2013-02-05 06:57:45 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-02-06 15:29:50 +0100 |
| commit | facf98ad987a38d97e12511f81375380b407a828 (patch) | |
| tree | 653e1b5f4812e702f30adcb63610c19942f887c7 /qapi-schema-test.json | |
| parent | e1000: fix link down handling with auto negotiation (diff) | |
| download | qemu-facf98ad987a38d97e12511f81375380b407a828.tar.gz qemu-facf98ad987a38d97e12511f81375380b407a828.tar.xz qemu-facf98ad987a38d97e12511f81375380b407a828.zip | |
qemu/iovec: Don't assert if sbytes is zero
Since these values can possibly be sent from guest (for hw/9pfs), do a sanity check
on them. A 9p write request with 0 bytes caused qemu to abort without this patch
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qapi-schema-test.json')
0 files changed, 0 insertions, 0 deletions
