Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-27 Thread Ian Campbell
On Tue, 2016-01-26 at 17:15 +, Stefano Stabellini wrote: > It is sufficient to create an empty save file, as returned by > libxl__device_model_savefile, with the right owner, at domain creation > time. Something like below: > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c >

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-26 Thread Ian Campbell
On Tue, 2016-01-26 at 00:00 +, Andrew Cooper wrote: > On 25/01/2016 20:36, Konrad Rzeszutek Wilk wrote: > > On Wed, Dec 30, 2015 at 11:00:52AM +, Andrew Cooper wrote: > > > On 30/12/2015 05:25, Wen Congyang wrote: > > > > On 12/30/2015 12:11 PM, Doug Goldstein wrote: > > > > > On 12/29/15

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-26 Thread Stefano Stabellini
On Tue, 26 Jan 2016, Ian Campbell wrote: > On Tue, 2016-01-26 at 00:00 +, Andrew Cooper wrote: > > On 25/01/2016 20:36, Konrad Rzeszutek Wilk wrote: > > > On Wed, Dec 30, 2015 at 11:00:52AM +, Andrew Cooper wrote: > > > > On 30/12/2015 05:25, Wen Congyang wrote: > > > > > On 12/30/2015

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-25 Thread Konrad Rzeszutek Wilk
On Wed, Dec 30, 2015 at 11:00:52AM +, Andrew Cooper wrote: > On 30/12/2015 05:25, Wen Congyang wrote: > >On 12/30/2015 12:11 PM, Doug Goldstein wrote: > >>On 12/29/15 8:39 PM, Wen Congyang wrote: > >>>We may use non-root user to run qemu, and the qemu needs to write > >>>save file to

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2016-01-25 Thread Andrew Cooper
On 25/01/2016 20:36, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 30, 2015 at 11:00:52AM +, Andrew Cooper wrote: >> On 30/12/2015 05:25, Wen Congyang wrote: >>> On 12/30/2015 12:11 PM, Doug Goldstein wrote: On 12/29/15 8:39 PM, Wen Congyang wrote: > We may use non-root user to run qemu,

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2015-12-30 Thread Andrew Cooper
On 30/12/2015 05:25, Wen Congyang wrote: On 12/30/2015 12:11 PM, Doug Goldstein wrote: On 12/29/15 8:39 PM, Wen Congyang wrote: We may use non-root user to run qemu, and the qemu needs to write save file to /var/lib/xen. So we should allow all user to create a file under the directory

[Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2015-12-29 Thread Wen Congyang
We may use non-root user to run qemu, and the qemu needs to write save file to /var/lib/xen. So we should allow all user to create a file under the directory /var/lib/xen Signed-off-by: Wen Congyang --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2015-12-29 Thread Wen Congyang
On 12/30/2015 12:11 PM, Doug Goldstein wrote: > On 12/29/15 8:39 PM, Wen Congyang wrote: >> We may use non-root user to run qemu, and the qemu needs to write >> save file to /var/lib/xen. So we should allow all user to create >> a file under the directory /var/lib/xen >> >> Signed-off-by: Wen

Re: [Xen-devel] [PATCH 5/5] Allow all user to create a file under the directory /var/lib/xen

2015-12-29 Thread Doug Goldstein
On 12/29/15 8:39 PM, Wen Congyang wrote: > We may use non-root user to run qemu, and the qemu needs to write > save file to /var/lib/xen. So we should allow all user to create > a file under the directory /var/lib/xen > > Signed-off-by: Wen Congyang > --- > tools/Makefile