Displaying 4 results from an estimated 4 matches for "qemuprocesslaunch".
2018 Nov 15
1
libvirt call qemu to create vm need more than 10 seconds
Hi all:
It takes more than 10 seconds to create a vm on a Dell R830 machine, but it takes less than 2 seconds on other machines. This is not normal, so I turned on the debug log for libvirtd. I analyzed the log and found that the time was spent on libvirtd calling qemu. Thread 95225 calls the qemuProcessLaunch interface at 14:22:30.129 and then builds the emulator command line, but the qemuDomainObjTaint method is called after 10 seconds. I tried to analyze the qemuProcessLaunch function to find the reason, but nothing was found. What is the cause?
Below some information about my hypervisor:
[root@node1...
2016 Jan 13
0
Re: [libvirt] Quantifying libvirt errors in launching the libguestfs appliance
...created two VMs, kernel1 and kernel2, just booting off a kernel in
$HOME/session-kernel/vmlinuz. Then I added this patch:
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index f083f3f..5d9f0fa 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -4901,6 +4901,13 @@ qemuProcessLaunch(virConnectPtr conn,
incoming ? incoming->path : NULL) < 0)
goto cleanup;
+ if (STREQ(vm->def->name, "kernel1")) {
+ for (int z = 0; z < 30; z++) {
+ printf("kernel1: sleeping %d of 30\n", z + 1)...
2016 Jan 13
7
Quantifying libvirt errors in launching the libguestfs appliance
As people may know, we frequently encounter errors caused by libvirt
when running the libguestfs appliance.
I wanted to find out exactly how frequently these happen and classify
the errors, so I ran the 'virt-df' tool overnight 1700 times. This
tool runs several parallel qemu:///session libvirt connections both
creating a short-lived appliance guest.
Note that I have added Cole's
2019 Mar 28
1
Error Starting domain: Failed to page size of file
...bvirtd.service: 1529: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8687
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:03:04 dpdk-OptiPlex-5040 kernel: [ 4023.292264] audit: type=1400
audit(1553776384.755:31): apparmor="STATUS" operation="profile_replace"
info="same as current pr...