[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6] run QEMU as non-root
On Thu, 9 Jul 2015, Ian Campbell wrote: > On Wed, 2015-07-01 at 13:50 +0100, Stefano Stabellini wrote: > > > @@ -878,6 +908,33 @@ static char ** > > libxl__build_device_model_args_new(libxl__gc *gc, > > default: > > break; > > } > > + > > + if (b_info->device_model_user) { > > + user = b_info->device_model_user; > > + if (libxl__dm_runas_helper(gc, user) <= 0) > > + user = NULL; > > I think this case should be an error, rather than continuing and running > qemu as root. I agree. I think it is best to start the guest with -runas user, exactly as requested and if it doesn't work, we'll catch the error later when it happens. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |