Skip to contentSkip to conversation

docs: document shortcomings of running QEMU as non-root

PATCH Applied Stefano Stabellini 3 participants 3 messages Feb 9, 2016 – Feb 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

docs/man/xl.cfg.pod.5 +2 -0
index 8899f75..40690bd 100644
@@ -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
 
docs/misc/qemu-deprivilege.txt +4 -0
index dde74ab..879a98e 100644
@@ -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.
Acked-by on v1 1/1
#1 lore raw

Stefano Stabellini writes ("[PATCH] docs: document shortcomings of running QEMU as non-root"):

Quoted 6 lines

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).

#2 lore raw
Quoted 9 lines · Ian Jackson

Stefano Stabellini writes ("[PATCH] docs: document shortcomings of running QEMU as non-root"):

Quoted 6 lines

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).

applied