[libvirt] PATCH: OpenVZ bridge support
Daniel P. Berrange
berrange at redhat.com
Mon Nov 17 09:56:39 UTC 2008
On Fri, Nov 14, 2008 at 07:26:23PM +0300, Evgeniy Sokolov wrote:
>
> this condition make container config completely broken.
> as the patch is already commited, here is fix.
Thanks, I've applied your fix.
>
> diff -u -r1.49 openvz_conf.c
> --- openvz_conf.c 12 Nov 2008 16:35:47 -0000 1.49
> +++ openvz_conf.c 14 Nov 2008 16:14:24 -0000
> @@ -484,8 +484,7 @@
> if (openvz_readline(fd, line, sizeof(line)) <= 0)
> break;
>
> - if (!STRPREFIX(line, param) &&
> - line[strlen(param)] == '=') {
> + if (!(STRPREFIX(line, param) && line[strlen(param)] == '=')) {
> if (safewrite(temp_fd, line, strlen(line)) !=
> strlen(line))
> goto error;
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list