qemu won't run

rwcurrent

New Member
Jul 15, 2025
2
0
1
Not sure why, could be a lot of things, it's a old Mac Pro so I had to use ReFind to enable the bit, then disable mitigation in grub, and thought that shouldn't be the problem anymore?

lscpu:
Code:
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          40 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   16
  On-line CPU(s) list:    0-15
Vendor ID:                GenuineIntel
  BIOS Vendor ID:         Intel(R) Corporation
  Model name:             Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
    BIOS Model name:      Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz  CPU @ 2.2GHz
    BIOS CPU family:      178
    CPU family:           6
    Model:                26
    Thread(s) per core:   2
    Core(s) per socket:   4
    Socket(s):            2
    Stepping:             5
    Frequency boost:      enabled
    CPU(s) scaling MHz:   100%
    CPU max MHz:          2394.0000
    CPU min MHz:          1596.0000
    BogoMIPS:             4522.01
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse
                           sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc cp
                          uid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt la
                          hf_lm pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid dtherm ida vnmi flush_l1d
Virtualization features:
  Virtualization:         VT-x
Caches (sum of all):
  L1d:                    256 KiB (8 instances)
  L1i:                    256 KiB (8 instances)
  L2:                     2 MiB (8 instances)
  L3:                     16 MiB (2 instances)
NUMA:                
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-15
Vulnerabilities:    
  Gather data sampling:   Not affected
  Itlb multihit:          KVM: Mitigation: VMX disabled
  L1tf:                   Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                    Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Meltdown:               Mitigation; PTI
  Mmio stale data:        Unknown: No mitigations
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP conditional; RSB filling; PBRSB-eIBRS Not af
                          fected; BHI Not affected
  Srbds:                  Not affected
  Tsx async abort:        Not affected

kvm-ok:
Code:
INFO: /dev/kvm exists
KVM acceleration can be used

systemctl status qemu-guest-agent:
Code:
○ qemu-guest-agent.service - QEMU Guest Agent
     Loaded: loaded (/lib/systemd/system/qemu-guest-agent.service; static)
     Active: inactive (dead)

systemctl start qemu-guest-agent:
Code:
Subject: A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has begun execution.
░░
░░ The job identifier is 1497.
Jul 14 21:17:01 hyper CRON[4605]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Jul 14 21:17:01 hyper CRON[4606]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
Jul 14 21:17:01 hyper CRON[4605]: pam_unix(cron:session): session closed for user root
Jul 14 21:17:06 hyper systemd[1]: dev-virtio\x2dports-org.qemu.guest_agent.0.device: Job dev-virtio\x2dports-org.qemu.guest_ag>
Jul 14 21:17:06 hyper systemd[1]: Timed out waiting for device dev-virtio\x2dports-org.qemu.guest_agent.0.device - /dev/virtio>
░░ Subject: A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has finished with a failure.
░░
░░ The job identifier is 1497 and the job result is timeout.
Jul 14 21:17:06 hyper systemd[1]: Dependency failed for qemu-guest-agent.service - QEMU Guest Agent.
░░ Subject: A start job for unit qemu-guest-agent.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit qemu-guest-agent.service has finished with a failure.
░░
░░ The job identifier is 1496 and the job result is dependency.
Jul 14 21:17:06 hyper systemd[1]: qemu-guest-agent.service: Job qemu-guest-agent.service/start failed with result 'dependency'.
Jul 14 21:17:06 hyper systemd[1]: dev-virtio\x2dports-org.qemu.guest_agent.0.device: Job dev-virtio\x2dports-org.qemu.guest_ag>
Jul 14 21:17:07 hyper pmxcfs[1309]: [status] notice: received log

It will run containers, but not vm, ceph is handling over 20TB of disks very well. I just can't get qemu to work. Any suggestions?
 
Last edited:
Yea, I have, and removed it, it was some tutorial... seemed all of them talk about problems on guest. It's not on there now. I've got 2 of three running fine, this mac gave me so many issues, I may be better of reinstalling because I've tried to "fix" it to many times now.. .Unfortunately, can't shut it down until I migrate a lot of data off it (I don't need another headache of keeping the ceph drives and remapping .. I just can't risk any time/data right now. But reinstall might be the only think to debug at this point, I think I "bugged" it to much.
 
Last edited: