From 909cda12b57d8742d67470c5350ecc4012267cb2 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 15 Aug 2011 11:17:31 -0500 Subject: char: rename qemu_chr_can_read() -> qemu_chr_be_can_read() Signed-off-by: Anthony Liguori --- spice-qemu-char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spice-qemu-char.c') diff --git a/spice-qemu-char.c b/spice-qemu-char.c index f3e7702b55..a9323f39fb 100644 --- a/spice-qemu-char.c +++ b/spice-qemu-char.c @@ -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); -- cgit v1.2.1