mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
char: rename qemu_chr_can_read() -> qemu_chr_be_can_read()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fa5efccb2a
commit
909cda12b5
5 changed files with 15 additions and 15 deletions
|
@ -36,7 +36,7 @@ static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len)
|
|||
|
||||
while (len > 0) {
|
||||
last_out = MIN(len, VMC_MAX_HOST_WRITE);
|
||||
if (qemu_chr_can_read(scd->chr) < last_out) {
|
||||
if (qemu_chr_be_can_write(scd->chr) < last_out) {
|
||||
break;
|
||||
}
|
||||
qemu_chr_be_write(scd->chr, p, last_out);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue