From: Pavel Labushev <p.labushev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: host PCI (-X) device assigned to a container
Date: Thu, 14 Oct 2010 18:55:32 +0800 [thread overview]
Message-ID: <4CB6E1A4.3000502@gmail.com> (raw)
In-Reply-To: <20101014092437.37cf8c86-jVktQDY1Ej77k9Ui2d6hDdi2O/JbrIOy@public.gmane.org>
14.10.2010 14:24, Mihamina Rakotomandimby пишет:
> I suppose (not really sure) that using "lxc.cgroup.devices.allow" is a
> tip, but once the PCI device plugged, how to guess the numbers &
> letters to set up?
You could setup udev on host system to launch scripts to place the
relevant device files into some directory and configure a bind-mount of
that directory to /dev within the container's mount namespace.
Container's devices.allow should also be managed by udev scripts on host
system. And device unplugging events should trigger some udev script to
perform reverse actions.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
prev parent reply other threads:[~2010-10-14 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 6:24 host PCI (-X) device assigned to a container Mihamina Rakotomandimby
[not found] ` <20101014092437.37cf8c86-jVktQDY1Ej77k9Ui2d6hDdi2O/JbrIOy@public.gmane.org>
2010-10-14 10:55 ` Pavel Labushev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CB6E1A4.3000502@gmail.com \
--to=p.labushev-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.