[et-mgmt-tools] Using libvirt-remote with python-virtinst?
Michael DeHaan
mdehaan at redhat.com
Tue Jul 29 11:45:02 UTC 2008
Daniel P. Berrange wrote:
> On Mon, Jul 28, 2008 at 05:48:36PM -0400, Michael DeHaan wrote:
>
>> Today I tried using a remote connection string within koan. The idea
>> here is to be able to use koan against boxes that have libvirtd
>> installed but do not have koan installed.
>>
>> guest =
>> virtinst.FullVirtGuest(hypervisorURI="qemu+ssh://root@drwily.rdu.redhat.com/system",
>> ...)
>>
>> This works fine up until the point where it wants to create the disk.
>>
>> I heard on #ovirt that there may be some work being done to make the API
>> of python-virtinst be smart enough to be able to create remote disks?
>>
>
> It needs virtinst to be fully ported to use the storage APIs, which is
> something Cole is working on right now. There's probably a few other
> places where we still hit local machine state, but that can be cleaned
> up by use of the capabilities XML and other libvirt APIs (eg BlockPeek
> to check for MBR signature).
>
> Daniel
>
Excellent. I heard a bit of this from Hugh, but we wanted to confirm it
would work like this.
I'll stay tuned.
--Michael
More information about the et-mgmt-tools
mailing list