aboutsummaryrefslogtreecommitdiff
path: root/spice-qemu-char.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:30 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:16 -0500
commitfa5efccb2a063f1dee46ed3ebd9192b318009f65 (patch)
treef426604b4152eabea1addc7e99b88ad32d23d597 /spice-qemu-char.c
parente7e71b0ec62d2954635ba8a2462a20a60fa2c147 (diff)
downloadqemu-fa5efccb2a063f1dee46ed3ebd9192b318009f65.zip
qemu-fa5efccb2a063f1dee46ed3ebd9192b318009f65.tar.gz
qemu-fa5efccb2a063f1dee46ed3ebd9192b318009f65.tar.bz2
char: rename qemu_chr_read() -> qemu_chr_be_write()
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 684024b..f3e7702 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -39,7 +39,7 @@ static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len)
if (qemu_chr_can_read(scd->chr) < last_out) {
break;
}
- qemu_chr_read(scd->chr, p, last_out);
+ qemu_chr_be_write(scd->chr, p, last_out);
out += last_out;
len -= last_out;
p += last_out;