Re: [Xen-devel] [PATCH 18/22] libxl: Rationalise calculation of user to run qemu as

2017-09-18 Thread Wei Liu
On Fri, Sep 15, 2017 at 07:48:55PM +0100, Ian Jackson wrote: > If the config specifies a user we use that. Otherwise: > > When we are not restricting qemu, there is very little point running > it as a different user than root. Indeed, previously, creating the > "magic" users would cause qemu to

[Xen-devel] [PATCH 18/22] libxl: Rationalise calculation of user to run qemu as

2017-09-15 Thread Ian Jackson
If the config specifies a user we use that. Otherwise: When we are not restricting qemu, there is very little point running it as a different user than root. Indeed, previously, creating the "magic" users would cause qemu to become slightly dysfunctional (for example, you can't insert a cd that