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

2017-10-05 Thread Wei Liu
On Wed, Oct 04, 2017 at 04:57:26PM +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 20/24] libxl: Rationalise calculation of user to run qemu as

2017-10-04 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