diff mbox

docs: document shortcomings of running QEMU as non-root

Message ID alpine.DEB.2.02.1602091556100.27008@kaball.uk.xensource.com (mailing list archive)
State New, archived
Headers show

Commit Message

Stefano Stabellini Feb. 9, 2016, 4:03 p.m. UTC
Running QEMU as non-root causes migration and PCI passthrough not to
work properly. Migration can be fixed rather easily
(http://marc.info/?l=xen-devel&m=145382864118600), but PCI passthrough
cannot (http://marc.info/?l=xen-devel&m=145286946113964).

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

Comments

Ian Jackson Feb. 9, 2016, 6:30 p.m. UTC | #1
Stefano Stabellini writes ("[PATCH] docs: document shortcomings of running QEMU as non-root"):
> Running QEMU as non-root causes migration and PCI passthrough not to
> work properly. Migration can be fixed rather easily
> (http://marc.info/?l=xen-devel&m=145382864118600), but PCI passthrough
> cannot (http://marc.info/?l=xen-devel&m=145286946113964).
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Konrad Rzeszutek Wilk Feb. 15, 2016, 5:53 p.m. UTC | #2
On Tue, Feb 09, 2016 at 06:30:45PM +0000, Ian Jackson wrote:
> Stefano Stabellini writes ("[PATCH] docs: document shortcomings of running QEMU as non-root"):
> > Running QEMU as non-root causes migration and PCI passthrough not to
> > work properly. Migration can be fixed rather easily
> > (http://marc.info/?l=xen-devel&m=145382864118600), but PCI passthrough
> > cannot (http://marc.info/?l=xen-devel&m=145286946113964).
> > 
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> 
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

applied
diff mbox

Patch

diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 8899f75..40690bd 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -1840,6 +1840,8 @@  option to the device-model.
 
 Run the device model as user "username", instead of
 xen-qemudepriv-domid$domid or xen-qemudepriv-shared or root.
+Please note that running QEMU as non-root causes migration and PCI
+passthrough not to work properly.
 
 =back
 
diff --git a/docs/misc/qemu-deprivilege.txt b/docs/misc/qemu-deprivilege.txt
index dde74ab..879a98e 100644
--- a/docs/misc/qemu-deprivilege.txt
+++ b/docs/misc/qemu-deprivilege.txt
@@ -29,3 +29,7 @@  adduser --no-create-home --system xen-qemuuser-shared
 
 3) root
 As a last resort, libxl will start QEMU as root.
+
+
+Please note that running QEMU as non-root causes migration and PCI
+passthrough not to work properly.