aboutsummaryrefslogtreecommitdiffstats
path: root/spice-qemu-char.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:31 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:16 -0500
commit909cda12b57d8742d67470c5350ecc4012267cb2 (patch)
tree4722cec328a84a678ab595c2640782695cbac719 /spice-qemu-char.c
parentfa5efccb2a063f1dee46ed3ebd9192b318009f65 (diff)
char: rename qemu_chr_can_read() -> qemu_chr_be_can_read()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'spice-qemu-char.c')
-rw-r--r--spice-qemu-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index f3e7702b5..a9323f39f 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);