I have the following question. How can virsh (or, more accurately, libvirt) detect a running QEMU vm, when latter was already started? For example, I have got the following:
[aspsk@localhost Server-4.0.1]$ qemu -hda Server-4.0.1.img -m 256 &
[1] 12001
[aspsk@localhost Server-4.0.1]$ Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No such file or directory
Could not open '/dev/qvm86' - QEMU acceleration layer not activated: No such file or directory
[aspsk@localhost Server-4.0.1]$ sudo virsh -c qemu:///system list --all
Id Name State
----------------------------------
[aspsk@localhost Server-4.0.1]$
A.
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list