Hi,
I got it, thanks for your quick reply :)
Regards,
-Gonglei
> -Original Message-
> From: Daniel P. Berrange [mailto:berra...@redhat.com]
> Sent: Monday, July 18, 2016 5:07 PM
> To: Gonglei (Arei)
> Cc: Paolo Bonzini; Lilijun (Jerry); qemu-devel@nongnu.org
> Subject: Re: A question a
On Mon, Jul 18, 2016 at 08:41:32AM +, Gonglei (Arei) wrote:
> Hi Daniel & Paolo,
>
> Commit 9894dc0c "char: convert from GIOChannel to QIOChannel",
> about the below code segment:
>
> static bool qemu_chr_open_socket_fd(CharDriverState *chr, Error **errp)
> {
> TCPCharDriver *s = chr->
Hi Daniel & Paolo,
Commit 9894dc0c "char: convert from GIOChannel to QIOChannel",
about the below code segment:
static bool qemu_chr_open_socket_fd(CharDriverState *chr, Error **errp)
{
TCPCharDriver *s = chr->opaque;
-int fd;
+QIOChannelSocket *sioc = qio_channel_socket_new();