diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-15 11:17:31 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 10:17:16 -0500 |
commit | 909cda12b57d8742d67470c5350ecc4012267cb2 (patch) | |
tree | 4722cec328a84a678ab595c2640782695cbac719 /spice-qemu-char.c | |
parent | fa5efccb2a063f1dee46ed3ebd9192b318009f65 (diff) | |
download | qemu-909cda12b57d8742d67470c5350ecc4012267cb2.tar.gz qemu-909cda12b57d8742d67470c5350ecc4012267cb2.tar.bz2 qemu-909cda12b57d8742d67470c5350ecc4012267cb2.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |