mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
esp: correctly fill bus id with requested lun
This bug showed up after 1455084ea2
, and
may be seen only on operating systems *not* using DMA to give commands
to SCSI adapter.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
f74b32dec9
commit
75ef849696
1 changed files with 1 additions and 1 deletions
2
hw/esp.c
2
hw/esp.c
|
@ -211,7 +211,7 @@ static uint32_t get_cmd(ESPState *s, uint8_t *buf)
|
|||
} else {
|
||||
dmalen = s->ti_size;
|
||||
memcpy(buf, s->ti_buf, dmalen);
|
||||
buf[0] = 0;
|
||||
buf[0] = buf[2] >> 5;
|
||||
}
|
||||
DPRINTF("get_cmd: len %d target %d\n", dmalen, target);
|
||||
|
||||
|
|
Loading…
Reference in a new issue