Re: EXTERNAL: Re: Connecting to Standalone KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:libvirt-users-bounces@xxxxxxxxxx] On Behalf Of Laine Stump
Sent: Friday, March 04, 2011 2:11 PM
To: libvirt-users@xxxxxxxxxx
Subject: EXTERNAL: Re: 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux