libvirt/src/lxc
Ryota Ozaki d2ac3c2fdd lxc: Fix failure on starting a domain with multiple interfaces
[Error message]
error: Failed to start domain lxc_test1
error: internal error Failed to create veth device pair: 512

The reason of the failure is that lxc driver unexpectedly re-uses
an auto-assigned veth name and tries to create the created veth
again. The failure will happen when a domain has multiple network
interfaces and the names of those are not specified in XML.

The patch fixes the problem by resetting buffers of veth names
in every iteration of creating veth.

* src/lxc/lxc_driver.c: prevent re-using auto-assigned veth name
  Reported by Kumar L Srikanth-B22348.
2010-05-03 11:13:26 +02:00
..
libvirtd_lxc.aug LXC add augeas support for config file 2009-10-08 18:06:40 +02:00
lxc_conf.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
lxc_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
lxc_container.c maint: make Red Hat copyright notices consistent 2010-03-18 16:48:05 +01:00
lxc_container.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
lxc_controller.c build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
lxc_driver.c lxc: Fix failure on starting a domain with multiple interfaces 2010-05-03 11:13:26 +02:00
lxc_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
lxc.conf LXC add driver config file lxc.conf 2009-10-08 17:40:14 +02:00
test_libvirtd_lxc.aug LXC add augeas support for config file 2009-10-08 18:06:40 +02:00
veth.c Remove conn parameter from util functions 2010-02-09 01:04:54 +01:00
veth.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00