Re: [libvirt] [PATCH] lxc: Prevent shutting down the host

2013-03-25 Thread Martin Kletzander
On 03/23/2013 09:25 PM, Doug Goldstein wrote: On Sat, Mar 23, 2013 at 5:21 AM, Martin Kletzander mklet...@redhat.com wrote: On 03/22/2013 06:17 PM, Daniel P. Berrange wrote: On Thu, Mar 21, 2013 at 04:10:45PM +0100, Martin Kletzander wrote: When the container has the same '/dev' mount as

Re: [libvirt] [PATCH] lxc: Prevent shutting down the host

2013-03-23 Thread Martin Kletzander
On 03/22/2013 06:17 PM, Daniel P. Berrange wrote: On Thu, Mar 21, 2013 at 04:10:45PM +0100, Martin Kletzander wrote: When the container has the same '/dev' mount as host (no chroot), calling domainShutdown(WithFlags) shouldn't shutdown the host it is running on. Signed-off-by: Martin

Re: [libvirt] [PATCH] lxc: Prevent shutting down the host

2013-03-23 Thread Doug Goldstein
On Sat, Mar 23, 2013 at 5:21 AM, Martin Kletzander mklet...@redhat.com wrote: On 03/22/2013 06:17 PM, Daniel P. Berrange wrote: On Thu, Mar 21, 2013 at 04:10:45PM +0100, Martin Kletzander wrote: When the container has the same '/dev' mount as host (no chroot), calling domainShutdown(WithFlags)

Re: [libvirt] [PATCH] lxc: Prevent shutting down the host

2013-03-22 Thread Daniel P. Berrange
On Thu, Mar 21, 2013 at 04:10:45PM +0100, Martin Kletzander wrote: When the container has the same '/dev' mount as host (no chroot), calling domainShutdown(WithFlags) shouldn't shutdown the host it is running on. Signed-off-by: Martin Kletzander mklet...@redhat.com --- This is also valid

[libvirt] [PATCH] lxc: Prevent shutting down the host

2013-03-21 Thread Martin Kletzander
When the container has the same '/dev' mount as host (no chroot), calling domainShutdown(WithFlags) shouldn't shutdown the host it is running on. Signed-off-by: Martin Kletzander mklet...@redhat.com --- This is also valid for 1.0.[23]-maint branches, so in case this gets ACK'd I'll either send a