Re: [libvirt] A difference between libvirt and execution in bash shell

2016-04-26 Thread Andrea Bolognani
On Tue, 2016-04-26 at 09:36 +0800, zhukaijie wrote: > Once I type my qemu command line in bash shell and execute it. > Then I use ps -aux to list the qemu process, results > indicates the user of the qemu vm is "root" (Of course I logged > with root). However, if I use libvirt to start a qemu > vm,

[libvirt] A difference between libvirt and execution in bash shell

2016-04-25 Thread zhukaijie
Once I type my qemu command line in bash shell and execute it. Then I use ps -aux to list the qemu process, results indicates the user of the qemu vm is "root" (Of course I logged with root). However, if I use libvirt to start a qemu vm, the user of qemu become "qemu". Could you tell me somethin