Nm, turns out qemu-kvm needs to be started with the full path (/usr/libexec/qemu-kvm -hda....) then virsh goes past this error.
On Wed, Mar 8, 2017 at 12:22 PM, DS DS <dsvirt17@xxxxxxxxx> wrote:
Hi,I am using "qemu-attach" in virsh to attach to an existing qemu process so I can send monitor commands to it.the VM is started usingqemu-kvm -net none -hda ./out.img -m 4G -nographicThe VM gets started and the OS boots fine.Then, I start virsh and do a "qemu-attach 44273" which is the PID of the qemu process.virsh # qemu-attach 44273error: Failed to attach to pid 44273error: Cannot check QEMU binary qemu-kvm: No such file or directoryqemu-kvm is in /usr/libexec. There is a symlink to it from /usr/bin and /bin.The virsh command "create" (for a different VM) works fine.What could be missing? Are there any debug/log messages/config files that can shed some light.Thanks.
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users