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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18-08-2010 12:45, soren@xxxxxxxxxxx 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/

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]