summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-03-27 22:26:25 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-27 17:02:07 +0200
commitbed58b4443b001227b953dca80ce76fa76ea0fc1 (patch)
treee088e754f69bfe5d082732e4e0c90f8db99a70b5 /qga/commands-posix.c
parent5354edd286ea6e956b81da66c9dcc5e47028198e (diff)
downloadfocaccia-qemu-bed58b4443b001227b953dca80ce76fa76ea0fc1.tar.gz
focaccia-qemu-bed58b4443b001227b953dca80ce76fa76ea0fc1.zip
scsi-generic: Fill in opt_xfer_len in INQUIRY reply if it is zero
When opt_xfer_len is zero, Linux ignores max_xfer_len erroneously.

While that obviously should be fixed, we do older guests a favor to
always filling in a value.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170327142625.1249-1-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions