Displaying 8 results from an estimated 8 matches for "lxc_driver".
2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
Create parent directroy for hostdev atomically when we
start a lxc domain or attach a hostdev to a lxc domain.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
---
src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++--------------
src/lxc/lxc_driver.c | 14 ++++++++++++++
2 files changed, 42 insertions(+), 14 deletions(-)
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index b954107..a204789 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -1569,14 +1569,15 @@ static int lxcContainerSetupHostdevCapsStora...
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
On 07/08/2013 11:41 AM, Daniel P. Berrange wrote:
>> the symptom my libvirt LXC container suffers from is:
>> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40
>> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
>> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation
>>
2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...; mode='bridge'/>
</interface>
It's linux macvlan solutions and it's worked at least since libvirt
1.2.7 for us.
As I can see, in version 4.1.0 and later, some changes about DIRECT
connect was implemented.
VIR_DOMAIN_NET_TYPE_DIRECT is still fully supported in src/lxc/lxc_driver.c
But in src/lxc/lxc_controller.c
--- libvirt-3.9.0/src/lxc/lxc_controller.c 2017-09-28
13:15:43.322712913 +0300
+++ libvirt-4.1.0/src/lxc/lxc_controller.c 2018-02-28
16:21:05.158799006 +0300
@@ -395,8 +395,14 @@
case VIR_DOMAIN_NET_TYPE_INTERNAL:
case VIR_DOMAIN_NET_TYP...
2018 Dec 05
0
Re: libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...</interface>
>
> It's linux macvlan solutions and it's worked at least since libvirt
> 1.2.7 for us.
> As I can see, in version 4.1.0 and later, some changes about DIRECT
> connect was implemented.
> VIR_DOMAIN_NET_TYPE_DIRECT is still fully supported in src/lxc/lxc_driver.c
> But in src/lxc/lxc_controller.c
> --- libvirt-3.9.0/src/lxc/lxc_controller.c 2017-09-28
> 13:15:43.322712913 +0300
> +++ libvirt-4.1.0/src/lxc/lxc_controller.c 2018-02-28
> 16:21:05.158799006 +0300
> @@ -395,8 +395,14 @@
> case VIR_DOMAIN_NET_TYPE_INTERNA...
2013 Jul 09
0
Re: [PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
...feng wrote:
> Create parent directroy for hostdev atomically when we
> start a lxc domain or attach a hostdev to a lxc domain.
>
> Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
> ---
> src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++--------------
> src/lxc/lxc_driver.c | 14 ++++++++++++++
> 2 files changed, 42 insertions(+), 14 deletions(-)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- h...
2013 Jul 15
0
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...00
err = 0x0
__FUNCTION__ = "virLXCProcessStart"
__func__ = "virLXCProcessStart"
---Type <return> to continue, or q <return> to quit---
#3 0x00007fe46aa9736e in lxcDomainCreateWithFlags (dom=0x7fe4580008c0,
flags=<optimized out>) at lxc/lxc_driver.c:1054
driver = 0x7fe4640bd340
vm = 0x7fe4640c1610
event = 0x0
ret = -1
__FUNCTION__ = "lxcDomainCreateWithFlags"
On Mon, Jul 15, 2013 at 7:06 AM, Dennis Jenkins <dennis.jenkins.75@gmail.com
> wrote:
>
> On Mon, Jul 15, 2013 at 3:18...
2015 Nov 20
2
signal for shutdown in lxc driver
...tart) and also have ability
to change default signals.
I can understand that when container start with some script not
/sbin/init that handle SIGTERM this situation is ok. But then
container use /sbin/init it is not.
So, is this a bug?-)
[1] https://github.com/libvirt/libvirt/blob/master/src/lxc/lxc_driver.c#L3681
[2] https://bazaar.launchpad.net/~upstart-devel/upstart/trunk/view/head:/init/main.c#L945
[3] http://man7.org/linux/man-pages/man1/lxc-stop.1.html
--
Boris
2013 Jul 15
3
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
On Mon, Jul 15, 2013 at 3:18 AM, Michal Privoznik <mprivozn@redhat.com>wrote:
>
> Interesting. If you are still able to reproduce the crash, can you try to
> get the line number within virSecurityManagerGenLabel where the crash
> happened? I think it's the STREQ line (440 linenr). Question is whether
> model or name is NULL.
>
>
I'll try.
I'm not sure why