On Tue, 23 Oct 2012 13:40:13 +0800
Lei Li wrote:
> >> +static int cirmem_chr_write(CharDriverState *chr, const uint8_t *buf, int
> >> len)
> >> +{
> >> +CirMemCharDriver *d = chr->opaque;
> >> +int i;
> >> +
> >> +if (len < 0) {
> >> +return -1;
> >> +}
> >> +
> >> +/
On 10/23/2012 02:14 AM, Luiz Capitulino wrote:
On Mon, 22 Oct 2012 00:47:57 +0800
Lei Li wrote:
Signed-off-by: Lei Li
This patch should be squashed in the next one. More comments below.
---
qemu-char.c | 72 +++
1 files changed,
On 10/22/2012 10:08 PM, Eric Blake wrote:
On 10/21/2012 10:47 AM, Lei Li wrote:
Signed-off-by: Lei Li
---
qemu-char.c | 72 +++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..b
On Mon, 22 Oct 2012 00:47:57 +0800
Lei Li wrote:
> Signed-off-by: Lei Li
This patch should be squashed in the next one. More comments below.
> ---
> qemu-char.c | 72
> +++
> 1 files changed, 72 insertions(+), 0 deletions(-)
>
> diff
On 10/21/2012 10:47 AM, Lei Li wrote:
> Signed-off-by: Lei Li
> ---
> qemu-char.c | 72
> +++
> 1 files changed, 72 insertions(+), 0 deletions(-)
>
> diff --git a/qemu-char.c b/qemu-char.c
> index b082bae..b174da1 100644
> --- a/qemu-cha
Signed-off-by: Lei Li
---
qemu-char.c | 72 +++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..b174da1 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2588,6 +2588,78 @@ size_t qemu_