Thanks. Strange, after all the keywords I searched for today, after your email I looked
up 'kvm-qemu config' and found exactly the explanation I needed here:
"Converting from QEMU args to domain XML"
http://libvirt.org/drvqemu.html
-----Original Message-----
From: libvirt-users-bounces(a)redhat.com [mailto:libvirt-users-bounces@redhat.com] On Behalf
Of Laine Stump
Sent: Friday, March 04, 2011 2:11 PM
To: libvirt-users(a)redhat.com
Subject: EXTERNAL: Re: [libvirt-users] Connecting to Standalone KVM
On 03/04/2011 01:47 PM, Markiewicz, Patrick F (N-No Laurels) wrote:
Hi,
Can virsh be used to connect to a standalone KVM? I.e. I started a
KVM from the command line, and I wondered how to connect to it. Virsh
list shows no VMs. Thanks.
No. libvirt (and consequently virsh) only knows about guests that were
defined/created/started via the libvirt API.
There is a virsh command to help you convert from your hand-written qemu
commandline to a libvirt domain XML - "virsh domxml-from-native". You'll
still have quite a bit of work left when it's done, but it's a start. If
your concern is having access to qemu's monitor interface, virsh in
newer versions of libvirt has the command "virsh qemu-monitor-command",
which is 100% unsupported, but available.
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users