From: Stefano Stabellini Date: Tue, 9 Feb 2016 16:03:56 +0000 (+0000) Subject: docs: document shortcomings of running QEMU as non-root X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1757 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3fba5f5ec6bd2c9375735ae09d9615ccb1d7c0d0;p=xen.git 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 Acked-by: Ian Jackson --- diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 8899f7568d..40690bdcea 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 dde74ab135..879a98eee6 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.