[libvirt] [PATCH] Allow chardev of type 'file' for UML domains.

Soren Hansen soren at ubuntu.com
Wed Aug 18 11:26:37 UTC 2010


On 18-08-2010 12:45, soren at linux2go.dk wrote:
> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
> index 04493ba..5f73ce2 100644
> --- a/src/uml/uml_driver.c
> +++ b/src/uml/uml_driver.c
> @@ -737,10 +737,6 @@ static int umlMonitorCommand(const struct uml_driver *driver,
>              virReportSystemError(errno, _("cannot read reply %s"), cmd);
>              goto error;
>          }
> -        if (nbytes < sizeof res) {
> -            virReportSystemError(0, _("incomplete reply %s"), cmd);
> -            goto error;
> -        }
>          if (sizeof res.data < res.length) {
>              virReportSystemError(0, _("invalid length in reply %s"), cmd);
>              goto error;

Whoops, this bit wasn't meant to be included. /me reposts without it.

-- 
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100818/ef1a2c7d/attachment-0001.sig>


More information about the libvir-list mailing list