[libvirt-users] qemu-attach fails

DS DS dsvirt17 at gmail.com
Wed Mar 8 20:22:29 UTC 2017


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 using
qemu-kvm -net none -hda ./out.img -m 4G -nographic

The 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 44273
error: Failed to attach to pid 44273
error: Cannot check QEMU binary qemu-kvm: No such file or directory

qemu-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170308/29c5b8ed/attachment.htm>


More information about the libvirt-users mailing list