[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

[libvirt] how does the qemu command line executed by libvirt?

2016-04-19 Thread zhukaijie
As you know, libvirt takes advantage of xml and generate corresponding qemu command line. But how does this command line executed? Does it executed in bash shell? Or any other api is used to create the qemu process? Thank you. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat

[libvirt] Hello and a question about QEMU log

2016-03-31 Thread zhukaijie
Hello,Each running VM has it's command line logged in /var/log/libvirt/qemu/${vmname}.And now I'd like to disable this log function, that is to say, not to recordthe QEMU command line of VM. Could you please tell me will can I configure it? Are there any configure info such as "log level" to co