diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-22 09:23:43 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-22 09:23:43 -0500 |
commit | bf1cd9b4f54c8f630291dcd057c3aa293a510bcb (patch) | |
tree | f348eb9684fcc99b35797e47e12903881c8ede8b /hw/virtio-serial-bus.c | |
parent | d1afc48b7cfdb4490f322d5d82a2aae6d545ec06 (diff) | |
parent | aaf55b4795d95d87353a08710f237f88d81a3c35 (diff) |
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'hw/virtio-serial-bus.c')
-rw-r--r-- | hw/virtio-serial-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c index 6d73386441..bdc760c36e 100644 --- a/hw/virtio-serial-bus.c +++ b/hw/virtio-serial-bus.c @@ -104,7 +104,7 @@ static size_t write_to_port(VirtIOSerialPort *port, } len = iov_from_buf(elem.in_sg, elem.in_num, - buf + offset, size - offset); + buf + offset, 0, size - offset); offset += len; virtqueue_push(vq, &elem, len); |