log: Add logs for some modules
cover log: Add logs for some modules
This path serial add some logs for some modeuls to make it easier to debug.
Peng Liang (5):
log: Add logs for vm start and destroy
log: Add log for each modules
log: Add more details to virtio_report in virtqueue_pop
log: Add log at boot & cpu init for aarch64
log: Add logs during qemu start
accel/kvm/kvm-all.c | 5 ++++- blockdev.c | 2 ++ hw/acpi/core.c | 3 +++ hw/arm/boot.c | 2 ++ hw/arm/virt.c | 2 ++ hw/core/reset.c | 2 ++ hw/pci/pci.c | 1 + hw/usb/host-libusb.c | 5 +++++ hw/virtio/virtio-pci.c | 2 ++ hw/virtio/virtio-scsi-pci.c | 3 +++ hw/virtio/virtio.c | 17 ++++++++++++++--- monitor/monitor.c | 9 +++++++++ monitor/qmp-cmds.c | 2 ++ os-posix.c | 1 + qapi/qmp-dispatch.c | 17 +++++++++++++++++ qdev-monitor.c | 6 ++++++ softmmu/vl.c | 10 ++++++++++ util/oslib-posix.c | 3 +-- 18 files changed, 86 insertions(+), 6 deletions(-)
Signature · 1 line
2.18.4
Quoted 1 line · Peng Liang
This path serial add some logs for some modeuls to make it easier to debug.
I appreciate the sentiment, but the use of 'info_report' means this debug info is unconditionally printed to stderr. I'm not convinced users in general will be happy with this approach of having stderr filled with debug info every time QEMU is launched.
For example launching a random QEMU guest I have currently with your patches applied results in many 100's lines of debug output spewed to stderr.
Much of this I think should be done as trace points so it is possible opt-in to acquiring debug information instead of it being unconditionally emitted.
qemu-system-x86_64: info: qemu pid is 4174203, options parsing start
qemu-system-x86_64: -m 2048: info: memory options parse start char device redirected to /dev/pts/14 (label charserial0)
2020-08-06T09:54:56.002249Z qemu-system-x86_64: info: Finish drive init. 2020-08-06T09:54:56.002335Z qemu-system-x86_64: info: configure accelerator pc-i440fx-3.1 start 2020-08-06T09:54:56.002997Z qemu-system-x86_64: info: machine init start 2020-08-06T09:54:56.003063Z qemu-system-x86_64: info: qemu enter main_loop 2020-08-06T09:54:56.028256Z qemu-system-x86_64: info: device init start 2020-08-06T09:54:56.032942Z qemu-system-x86_64: -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.0,addr=0x3: info: add qdev qemu-xhci:usb success 2020-08-06T09:54:56.033952Z qemu-system-x86_64: -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4: info: add qdev virtio-serial-pci:virtio-serial0 success 2020-08-06T09:54:56.034915Z qemu-system-x86_64: -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=libvirt-1-format,id=virtio-disk0,bootindex=1: info: add qdev virtio-blk-pci:virtio-disk0 success 2020-08-06T09:54:56.035829Z qemu-system-x86_64: -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ba:40:93,bus=pci.0,addr=0x2: info: add rom file: virtio-net-pci.rom 2020-08-06T09:54:56.035981Z qemu-system-x86_64: -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ba:40:93,bus=pci.0,addr=0x2: info: add qdev virtio-net-pci:net0 success 2020-08-06T09:54:56.036161Z qemu-system-x86_64: -device isa-serial,chardev=charserial0,id=serial0: info: add qdev isa-serial:serial0 success 2020-08-06T09:54:56.036214Z qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0: info: add qdev virtserialport:channel0 success 2020-08-06T09:54:56.036806Z qemu-system-x86_64: -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6: info: add qdev virtio-balloon-pci:balloon0 success 2020-08-06T09:54:56.037728Z qemu-system-x86_64: -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7: info: add qdev virtio-rng-pci:rng0 success 2020-08-06T09:54:56.046939Z qemu-system-x86_64: info: reset all devices 2020-08-06T09:54:56.048999Z qemu-system-x86_64: info: qemu enter main_loop
info: qmp_cmd_name: qmp_capabilities, arguments: {}
info: qmp_cmd_name: query-migrate-capabilities, arguments: {}
info: qmp_cmd_name: migrate-set-capabilities, arguments: {"capabilities": [{"state": true, "capability": "events"}]}
info: qmp_cmd_name: query-chardev, arguments: {}
info: qmp_cmd_name: qom-list, arguments: {"path": "/machine/unattached/device[0]"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "realized"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hotplugged"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hotpluggable"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fill-mtrr-mask"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "x-force-features"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-vpindex"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "enforce"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-runtime"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-tlbflush"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-crash"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-reset"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pmu"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-relaxed"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tcg-cpuid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmware-cpuid-freq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-stimer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "legacy-cache"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "x-migrate-smi-count"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-reenlightenment"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "x-hv-synic-kvm-only"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "l3-cache"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lmce"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-passthrough"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-no-smi-migration"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-stimer-direct"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "host-phys-bits"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "check"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-time"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "full-cpuid-auto-level"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-synic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-evmcs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-ipi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-vapic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cpuid-0xb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hv-frequencies"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "x-intel-pt-auto-level"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invept-single-context"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "core-capability"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "popcnt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_mmu"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "dtes64"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4_1"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invvpid-single-addr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xstore"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vmfunc"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pse36"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512-4vnniw"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fma4"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512-vp2intersect"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-poll-control"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_nopiodelay"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "amd-stibp"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pclmuldq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-store-lma"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "erms"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vaes"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-activity-wait-sipi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-flexpriority"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rdrand"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ept-advanced-exitinfo"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-pause-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-shadow-vmcs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512-vpopcntdq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tbm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xcrypt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-pv-eoi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-monitor-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-eptad"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pae"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ssse3"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-unrestricted-guest"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "phe"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "movdiri"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "taa-no"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "full-width-write"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "perfctr_nb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "arat"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512vbmi2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "perfctr_core"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_asyncpf"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "x2apic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "npt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512ifma"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_poll_control"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vnmi-pending"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invpcid-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-io-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pmm-en"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ins-outs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "dca"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-apicv-x2apic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ia64"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "perfctr-core"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-cr3-load-noexit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvmclock"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-noload-debugctl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "invtsc"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pn"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512cd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "md-clear"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cmp-legacy"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cx16"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512dq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "abm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-activity-shutdown"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-pv-ipi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-apicv-register"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fxsr-opt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "skip-l1dfl-vmentry"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pcid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rdpid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "wbnoinvd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "syscall"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pse"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc_scale"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mce"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xsaves"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-load-pat"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ibpb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-apicv-xapic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cldemote"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rtm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lwp"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-steal-time"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-hlt-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-load-efer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "nrip_save"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invlpg-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-save-efer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-eptp-switching"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vme"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-pv-unhalt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-desc-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_pv_unhalt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "svm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lahf-lm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invvpid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-hint-dedicated"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mca"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mtrr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmcb_clean"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pfthreshold"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pmm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pbe"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-ia32e-mode"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-rdpmc-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "split-lock-detect"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fpu"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "skinit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sep"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512-bf16"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-rdtscp-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "nx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invvpid-all-context"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ds-cpl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pause-filter"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fsrm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pause_filter"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vmwrite-vmexit-fields"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ept"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "nodeid-msr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "smap"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-io-bitmap"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-intr-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fxsr_opt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cr8legacy"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cmp_legacy"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-zero-len-inject"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "virt-ssbd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pschange-mc-no"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "umip"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512er"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vpid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xstore-en"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512vl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invept-single-context-noglobals"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cmov"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rsba"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-posted-intr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xcrypt-en"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tm2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-clear-bndcfgs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ept-execonly"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-load-efer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xsaveerptr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fsgsbase"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512bw"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vintr-pending"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "smx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-secondary-ctls"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lbrv"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hle"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "monitor"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tce"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4a"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vpclmulqdq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc-scale"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-pv-tlb-flush"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mds-no"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-cr8-load-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-activity-hlt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "i64"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "adx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invept-all-context"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ffxsr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "amd-no-ssb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-load-bndcfgs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "svm_lock"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "msr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pclmulqdq"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-preemption-timer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "clflush"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ssb-no"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mpx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "extapic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-vnmi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xop"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-rdseed-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "smep"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-mwait-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-rdtsc-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "cx8"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4-2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xsavec"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pku"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsx-ldtrk"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-mtf"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmcb-clean"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-load-pat"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "stibp"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-cr3-store-noexit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsx-ctrl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "svm-lock"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4-1"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "lahf_lm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_pv_eoi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "clzero"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ds"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "osvw"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm_steal_time"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-true-ctls"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "movdir64b"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-invept"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "acpi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "nodeid_msr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ds_cpl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ept-1gb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "nrip-save"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "gfni"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-mmu"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse3"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "serialize"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512bitalg"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rdseed"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sha-ni"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ace2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "waitpkg"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-rdrand-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "f16c"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "3dnowprefetch"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-encls-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "topoext"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rdctl-no"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mmx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512-4fmaps"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-cr8-store-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512vnni"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pni"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "movbe"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "mmxext"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ple"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-apicv-vid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "flushbyasid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "rdtscp"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "clwb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-asyncpf"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-pv-sched-yield"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "decodeassists"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pat"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "invpcid"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pdpe1gb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-save-pat"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc-adjust"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-load-rtit-ctl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ht"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xtpr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc_adjust"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-tsc-offset"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ssbd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-clear-rtit-ctl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "3dnowext"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "clflushopt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pdcm"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xsave"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "est"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pge"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "pcommit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ibs"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "tsc-deadline"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvmclock-stable-bit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "misalignsse"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-msr-bitmap"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "perfctr-nb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "apic"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512vbmi"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-nosave-debugctl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512f"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-save-preemption-timer"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "arch-capabilities"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "bmi2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-pml"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-nmi-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "intel-pt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "wdt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ace2-en"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "avx512pf"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "bmi1"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-page-walk-5"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "kvm-nopiodelay"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4.2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-ept-2mb"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-load-perf-global-ctrl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "3dnow"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-wbinvd-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "la57"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-page-walk-4"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4.1"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ibrs-all"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xgetbv1"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "xsaveopt"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "spec-ctrl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-entry-load-perf-global-ctrl"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-exit-ack-intr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-xsaves"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "phe-en"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fxsr"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "hypervisor"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "aes"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "amd-ssbd"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "sse4_2"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "de"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "ss"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "vmx-movdr-exit"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "fma"}
info: qmp_cmd_name: qom-get, arguments: {"path": "/machine/unattached/device[0]", "property": "unavailable-features"}
info: qmp_cmd_name: query-hotpluggable-cpus, arguments: {}
info: qmp_cmd_name: query-cpus-fast, arguments: {}
info: qmp_cmd_name: query-iothreads, arguments: {}
info: qmp_cmd_name: balloon, arguments: {"value": 2147483648}
info: qmp_cmd_name: qom-list, arguments: {"path": "/machine/peripheral"}
info: qmp_cmd_name: query-block, arguments: {}
info: qmp_cmd_name: cont, arguments: {}
info: qmp cont is received and vm is started
info: {"timestamp": {"seconds": 1596707696, "microseconds": 348455}, "event": "RESUME"}
2020-08-06T09:54:57.800270Z qemu-system-x86_64: info: virtio-rng device status is 1 that means ACKNOWLEDGE
2020-08-06T09:54:57.800301Z qemu-system-x86_64: info: virtio-rng device status is 3 that means DRIVER
2020-08-06T09:54:57.800361Z qemu-system-x86_64: info: virtio-rng device status is 7 that means DRIVER OK
2020-08-06T09:54:57.986059Z qemu-system-x86_64: info: virtio-blk device status is 1 that means ACKNOWLEDGE
2020-08-06T09:54:57.986089Z qemu-system-x86_64: info: virtio-blk device status is 3 that means DRIVER
2020-08-06T09:54:57.986177Z qemu-system-x86_64: info: virtio-blk device status is 7 that means DRIVER OK
2020-08-06T09:55:06.599507Z qemu-system-x86_64: terminating on signal 15 from pid 4173713 (/usr/sbin/libvirtd)
2020-08-06T09:55:06.599580Z qemu-system-x86_64: info: {"timestamp": {"seconds": 1596707706, "microseconds": 599541}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-signal"}}
2020-08-06T09:55:06.599977Z qemu-system-x86_64: info: virtio-rng device status is 7 that means DRIVER OK
2020-08-06T09:55:06.600085Z qemu-system-x86_64: info: virtio-blk device status is 7 that means DRIVER OK
2020-08-06 09:55:06.800+0000: shutting down, reason=destroyedRegards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH 1/5 log: Add logs for vm start and destroy
In reply to Peng LiangAdd logs for vm start and destroy.
--- hw/acpi/core.c | 3 +++ hw/core/reset.c | 2 ++ softmmu/vl.c | 8 ++++++++ 3 files changed, 13 insertions(+)
hw/acpi/core.c +3 -0
@@ -560,13 +560,16 @@ static void acpi_pm1_cnt_write(ACPIREGS *ar, uint16_t val)uint16_t sus_typ = (val >>10 ) &7 ;switch (sus_typ) {case 0 :/* soft power off */ +info_report ("VM will be soft power off" );qemu_system_shutdown_request (SHUTDOWN_CAUSE_GUEST_SHUTDOWN );break ;case 1 : +info_report ("VM will be suspend state" );qemu_system_suspend_request ();break ;default :if (sus_typ == ar->pm1.cnt.s4_val) {/* S4 request */ +info_report ("VM will be S4 state" );qapi_event_send_suspend_disk ();qemu_system_shutdown_request (SHUTDOWN_CAUSE_GUEST_SHUTDOWN ); }
hw/core/reset.c +2 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "qemu/queue.h" #include "sysemu/reset.h" +#include "qemu/error-report.h" /* reset/shutdown handler */
@@ -64,6 +65,7 @@ void qemu_devices_reset(void) {QEMUResetEntry *re, *nre; +info_report ("reset all devices" );/* reset all devices */ QTAILQ_FOREACH_SAFE(re, &reset_handlers, entry, nre) { re->func (re->opaque);
softmmu/vl.c +8 -0
@@ -1657,9 +1657,11 @@ static bool main_loop_should_exit(void) }if (qemu_powerdown_requested ()) {qemu_system_powerdown (); +info_report ("domain is power down by outside operation" ); }if (qemu_vmstop_requested (&r)) {vm_stop (r); +info_report ("domain is stopped by outside operation" ); }return false; }
@@ -1669,6 +1671,7 @@ void qemu_main_loop(void)#ifdef CONFIG_PROFILER int64_t ti;#endif +info_report ("qemu enter main_loop" );while (!main_loop_should_exit ()) {#ifdef CONFIG_PROFILER ti =profile_getclock ();
@@ -2941,6 +2944,7 @@ void qemu_init(int argc, char **argv, char **envp) autostart =1 ; +info_report ("qemu pid is %d, options parsing start" ,getpid ());/* first pass of option parsing */ optind =1 ;while (optind < argc) {
@@ -3154,6 +3158,7 @@ void qemu_init(int argc, char **argv, char **envp)exit (0 );break ;case QEMU_OPTION_m: +info_report ("memory options parse start" ); opts =qemu_opts_parse_noisily (qemu_find_opts ("memory" ), optarg, true);if (!opts) {
@@ -4152,6 +4157,7 @@ void qemu_init(int argc, char **argv, char **envp) current_machine->maxram_size = maxram_size; current_machine->ram_slots = ram_slots; +info_report ("configure accelerator %s start" , machine_class->name);/* * Note: uses machine properties such as kernel-irqchip, must run * after machine_set_property().
@@ -4300,6 +4306,7 @@ void qemu_init(int argc, char **argv, char **envp)replay_checkpoint (CHECKPOINT_INIT );qdev_machine_init (); +info_report ("machine init start" ); current_machine->boot_order = boot_order;/* parse features once if machine provides default cpu_type */
@@ -4379,6 +4386,7 @@ void qemu_init(int argc, char **argv, char **envp)exit (1 ); } +info_report ("device init start" );/* init generic devices */ rom_set_order_override (FW_CFG_ORDER_OVERRIDE_DEVICE ); qemu_opts_foreach(qemu_find_opts("device"),
Signature · 1 line
2.18.4
Re: [PATCH 1/5] log: Add logs for vm start and destroy
Quoted 20 lines · Peng Liang
Add logs for vm start and destroy.
Signed-off-by Peng Liang <[email protected]>--- hw/acpi/core.c | 3 +++ hw/core/reset.c | 2 ++ softmmu/vl.c | 8 ++++++++ 3 files changed, 13 insertions(+)hw/acpi/core.c +1
-0@@ -560,13 +560,16 @@ static void acpi_pm1_cnt_write(ACPIREGS *ar, uint16_t val)uint16_t sus_typ = (val >>10 ) &7 ;switch (sus_typ) {case 0 :/* soft power off */ +info_report ("VM will be soft power off" );qemu_system_shutdown_request (SHUTDOWN_CAUSE_GUEST_SHUTDOWN );break ;
hw/acpi/core.c static void acpi_pm1_cnt_write(ACPIREGS *ar, uint16_t val) · line 575
Quoted 10 lines
hw/acpi/core.c +2
-0case 1 : +info_report ("VM will be suspend state" );qemu_system_suspend_request ();break ;default :if (sus_typ == ar->pm1.cnt.s4_val) {/* S4 request */ +info_report ("VM will be S4 state" );qapi_event_send_suspend_disk ();qemu_system_shutdown_request (SHUTDOWN_CAUSE_GUEST_SHUTDOWN ); }
There is already a trace point in qemu_system_shutdown_request(), so this can already be used instead.
Thomas
PATCH 2/5 log: Add log for each modules
In reply to Peng LiangAdd log for each modules.
--- accel/kvm/kvm-all.c | 5 ++++- hw/pci/pci.c | 1 + hw/usb/host-libusb.c | 5 +++++ hw/virtio/virtio-pci.c | 2 ++ hw/virtio/virtio-scsi-pci.c | 3 +++ hw/virtio/virtio.c | 13 +++++++++++-- monitor/monitor.c | 9 +++++++++ monitor/qmp-cmds.c | 2 ++ os-posix.c | 1 + qapi/qmp-dispatch.c | 17 +++++++++++++++++ qdev-monitor.c | 6 ++++++ 11 files changed, 61 insertions(+), 3 deletions(-)
accel/kvm/kvm-all.c +4 -1
@@ -1427,7 +1427,10 @@ void kvm_irqchip_commit_routes(KVMState *s) s->irq_routes->flags =0 ;trace_kvm_irqchip_commit_routes (); ret =kvm_vm_ioctl (s,KVM_SET_GSI_ROUTING , s->irq_routes); -assert (ret ==0 ); +if (ret <0 ) { +error_report ("Set GSI routing failed" ); +abort (); + } } static void kvm_add_routing_entry(KVMState *s,
hw/pci/pci.c +1 -0
@@ -2365,6 +2365,7 @@ static void pci_add_option_rom(PCIDevice *pdev, bool is_default_rom, }else {snprintf (name,sizeof (name),"%s.rom" ,object_get_typename (OBJECT (pdev))); } +info_report ("add rom file: %s" , name); pdev->has_rom = true;memory_region_init_rom (&pdev->rom,OBJECT (pdev), name, size, &error_fatal); ptr =memory_region_get_ram_ptr (&pdev->rom);
hw/usb/host-libusb.c +5 -0
@@ -904,6 +904,8 @@ static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd) rc =libusb_open (dev, &s->dh);if (rc !=0 ) { +info_report ("libusb open usb device bus %d, device %d failed" , + bus_num, addr); goto fail; } }else {
@@ -931,6 +933,7 @@ static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd)libusb_get_device_descriptor (dev, &s->ddesc);usb_host_get_port (s->dev, s->port,sizeof (s->port)); +info_report ("open a host usb device on bus %d, device %d" , bus_num, addr);usb_ep_init (udev);usb_host_ep_update (s);
@@ -1016,6 +1019,8 @@ static int usb_host_close(USBHostDevice *s)usb_device_detach (udev); } +info_report ("begin to reset the usb device, bus : %d," +" device : %d" , s->bus_num, s->addr);usb_host_release_interfaces (s);libusb_reset_device (s->dh);usb_host_attach_kernel (s);
hw/virtio/virtio-pci.c +2 -0
@@ -1708,7 +1708,9 @@ static void virtio_pci_device_unplugged(DeviceState *d)VirtIOPCIProxy *proxy =VIRTIO_PCI (d);bool modern =virtio_pci_modern (proxy);bool modern_pio = proxy->flags &VIRTIO_PCI_FLAG_MODERN_PIO_NOTIFY ; +VirtIODevice *vdev =virtio_bus_get_device (&proxy->bus); +info_report ("device name: %s" , !vdev ?"NULL" : vdev->name);virtio_pci_stop_ioeventfd (proxy);if (modern) {
hw/virtio/virtio-scsi-pci.c +3 -0
@@ -19,6 +19,7 @@#include "hw/virtio/virtio-scsi.h" #include "qemu/module.h" #include "virtio-pci.h" +#include "qemu/error-report.h" typedef struct VirtIOSCSIPCI VirtIOSCSIPCI ;
@@ -50,6 +51,8 @@ static void virtio_scsi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)DeviceState *proxy =DEVICE (vpci_dev);char *bus_name; +info_report ("virtio scsi HBA %s begin to initialize." , + !proxy->id ?"NULL" : proxy->id);if (vpci_dev->nvectors ==DEV_NVECTORS_UNSPECIFIED ) { vpci_dev->nvectors = vs->conf.num_queues +3 ; }
hw/virtio/virtio.c +11 -2
@@ -1957,7 +1957,13 @@ int virtio_set_status(VirtIODevice *vdev, uint8_t val) k->set_status (vdev, val); } vdev->status = val; - +if (val) { +info_report ("%s device status is %d that means %s" , vdev->name, val, + (val &VIRTIO_CONFIG_S_DRIVER_OK ) ?"DRIVER OK" : + (val &VIRTIO_CONFIG_S_DRIVER ) ?"DRIVER" : + (val &VIRTIO_CONFIG_S_ACKNOWLEDGE ) ?"ACKNOWLEDGE" : + (val &VIRTIO_CONFIG_S_FAILED ) ?"FAILED" :"UNKNOWN" ); + }return 0 ; }
@@ -2403,8 +2409,11 @@ VirtQueue *virtio_add_queue(VirtIODevice *vdev, int queue_size,break ; } -if (i ==VIRTIO_QUEUE_MAX || queue_size >VIRTQUEUE_MAX_SIZE ) +if (i ==VIRTIO_QUEUE_MAX || queue_size >VIRTQUEUE_MAX_SIZE ) { +info_report ("unacceptable queue_size (%d) or num (%d)" , + queue_size, i);abort (); + } vdev->vq[i].vring.num = queue_size; vdev->vq[i].vring.num_default = queue_size;
monitor/monitor.c +9 -0
@@ -30,6 +30,7 @@#include "qapi/qapi-visit-control.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" +#include "qapi/qmp/qjson.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h"
@@ -258,6 +259,7 @@ static void monitor_qapi_event_emit(QAPIEvent event, QDict *qdict) {Monitor *mon;MonitorQMP *qmp_mon; +QString *json;trace_monitor_protocol_event_emit (event, qdict); QTAILQ_FOREACH(mon, &mon_list, entry) {
@@ -268,6 +270,13 @@ static void monitor_qapi_event_emit(QAPIEvent event, QDict *qdict) qmp_mon =container_of (mon, MonitorQMP, common);if (qmp_mon->commands != &qmp_cap_negotiation_commands) {qmp_send_response (qmp_mon, qdict); + json =qobject_to_json (QOBJECT (qdict)); +if (json) { +if (!strstr (json->string,"RTC_CHANGE" )) { +info_report ("%s" ,qstring_get_str (json)); + } +qobject_unref (json); + } } } }
monitor/qmp-cmds.c +2 -0
@@ -155,8 +155,10 @@ void qmp_cont(Error **errp) }if (runstate_check (RUN_STATE_INMIGRATE )) { +info_report ("qmp cont is received in migration" ); autostart =1 ; }else { +info_report ("qmp cont is received and vm is started" );vm_start (); } }
os-posix.c +1 -0
@@ -343,6 +343,7 @@ int os_mlock(void)#ifdef HAVE_MLOCKALL int ret =0 ; +info_report ("do mlockall" ); ret =mlockall (MCL_CURRENT |MCL_FUTURE );if (ret <0 ) {error_report ("mlockall: %s" ,strerror (errno));
qapi/qmp-dispatch.c +17 -0
@@ -18,6 +18,8 @@#include "qapi/qmp/qjson.h" #include "sysemu/runstate.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qstring.h" +#include "qemu/error-report.h" static QDict *qmp_dispatch_check_obj (QDict *dict,bool allow_oob,Error **errp)
@@ -96,6 +98,7 @@ QDict *qmp_dispatch(const QmpCommandList *cmds, QObject *request,const char *command;QDict *args;const QmpCommand *cmd; +QString *json;QDict *dict;QObject *id;QObject *ret =NULL ;
@@ -152,6 +155,20 @@ QDict *qmp_dispatch(const QmpCommandList *cmds, QObject *request, args =qdict_get_qdict (dict,"arguments" );qobject_ref (args); } + + json =qobject_to_json (QOBJECT (args)); +if (json) { +if ((strcmp (command,"query-block-jobs" ) !=0 ) + && (strcmp (command,"query-migrate" ) !=0 ) + && (strcmp (command,"query-blockstats" ) !=0 ) + && (strcmp (command,"query-balloon" ) !=0 ) + && (strcmp (command,"set_password" ) !=0 )) { +info_report ("qmp_cmd_name: %s, arguments: %s" , + command,qstring_get_str (json)); + } +qobject_unref (json); + } + cmd->fn (args, &ret, &err);qobject_unref (args);if (err) {
qdev-monitor.c +6 -0
@@ -619,6 +619,7 @@ DeviceState *qdev_device_add(QemuOpts *opts, Error **errp)if (path !=NULL ) { bus =qbus_find (path, errp);if (!bus) { +info_report ("can not find bus for %s" , driver);return NULL ; }if (!object_dynamic_cast (OBJECT (bus), dc->bus_type)) {
@@ -669,6 +670,8 @@ DeviceState *qdev_device_add(QemuOpts *opts, Error **errp)/* set properties */ if (qemu_opt_foreach (opts, set_property, dev, errp)) { +info_report ("the bus %s -driver %s set property failed" , + bus ? bus->name :"None" , driver); goto err_del_dev; }
@@ -677,6 +680,9 @@ DeviceState *qdev_device_add(QemuOpts *opts, Error **errp) dev->opts =NULL ; goto err_del_dev; } +info_report ("add qdev %s:%s success" , driver, +qemu_opts_id (opts) ?qemu_opts_id (opts) :"none" ); +return dev; err_del_dev:
Signature · 1 line
2.18.4
PATCH 3/5 log: Add more details to virtio_report in virtqueue_pop
In reply to Peng LiangAdd virtio device name and virtqueue info to virtio_report in virtqueue_pop so that we can find out which device's virtqueue is broken.
--- hw/virtio/virtio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hw/virtio/virtio.c +3 -1
@@ -1439,7 +1439,9 @@ static void *virtqueue_split_pop(VirtQueue *vq, size_t sz) max = vq->vring.num;if (vq->inuse >= vq->vring.num) { -virtio_error (vdev,"Virtqueue size exceeded" ); +virtio_error (vdev,"Virtio device %s vq->inuse=%d vq->vring.num=%d, " +"virtqueue size exceeded" , + vdev->name, vq->inuse, vq->vring.num); goto done; }
Signature · 1 line
2.18.4
PATCH 4/5 log: Add log at boot & cpu init for aarch64
In reply to Peng LiangAdd log at boot & cpu init for aarch64.
--- hw/arm/boot.c | 2 ++ hw/arm/virt.c | 2 ++ 2 files changed, 4 insertions(+)
hw/arm/boot.c +2 -0
@@ -1292,6 +1292,8 @@ void arm_load_kernel(ARMCPU *cpu, MachineState *ms, struct arm_boot_info *info)* doesn't support secure. */ assert (!(info->secure_board_setup &&kvm_enabled ())); +info_report ("load the kernel" ); + info->kernel_filename = ms->kernel_filename; info->kernel_cmdline = ms->kernel_cmdline; info->initrd_filename = ms->initrd_filename;
hw/arm/virt.c +2 -0
@@ -820,6 +820,7 @@ static void virt_powerdown_req(Notifier *n, void *opaque) {VirtMachineState *s =container_of (n, VirtMachineState, powerdown_notifier); +info_report ("send powerdown to vm." );if (s->acpi_dev) {acpi_send_event (s->acpi_dev,ACPI_POWER_DOWN_STATUS ); }else {
@@ -1780,6 +1781,7 @@ static void machvirt_init(MachineState *machine) }create_fdt (vms); +info_report ("cpu init start" ); possible_cpus = mc->possible_cpu_arch_ids (machine);for (n =0 ; n < possible_cpus->len; n++) {
Signature · 1 line
2.18.4
PATCH 5/5 log: Add logs during qemu start
In reply to Peng LiangAdd logs during qemu start.
--- blockdev.c | 2 ++ softmmu/vl.c | 2 ++ util/oslib-posix.c | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-)
blockdev.c +2 -0
@@ -1001,6 +1001,8 @@ DriveInfo *drive_new(QemuOpts *all_opts, BlockInterfaceType block_default_type,qdict_put_str (bs_opts,"rerror" , rerror); } +info_report ("blockdev init(%s)." , filename ? filename :"" ); +/* Actual block device init: Functionality shared with blockdev-add */ blk =blockdev_init (filename, bs_opts, errp); bs_opts =NULL ;
softmmu/vl.c +2 -0
@@ -1070,6 +1070,8 @@ static void configure_blockdev(BlockdevOptionsQueue *bdo_queue,exit (0 ); } +info_report ("Finish drive init." ); +default_drive (default_cdrom, snapshot, machine_class->block_default_type,2 ,CDROM_OPTS );default_drive (default_floppy, snapshot,IF_FLOPPY ,0 ,FD_OPTS );
util/oslib-posix.c +1 -2
@@ -66,9 +66,7 @@#include "qemu/mmap-alloc.h" -#ifdef CONFIG_DEBUG_STACK_USAGE #include "qemu/error-report.h" -#endif #define MAX_MEM_PREALLOC_THREAD_COUNT 16
@@ -558,6 +556,7 @@ static bool touch_all_pages(char *area, size_t hpagesize, size_t numpages,g_free (memset_thread); memset_thread =NULL ; +info_report ("Finish touching all pages." );return memset_thread_failed; }
Signature · 1 line
2.18.4