diff options
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 684024bf57..f3e7702b55 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; |