Re: [libvirt] Is virConnectListDefinedDomains broken?

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

 



On Fri, Jul 10, 2009 at 01:57:53PM -0400, Hongming Xiao wrote:
> Hi, list,
> 
> Recently, I upgraded my system to Xen 3.3.1 (from Xen 3.0.3). After
> this, I found that virConnectListDefinedDomains no longer works. The
> problem can be reproduced by executing "virsh list -all" - those
> defined but inactive domains are not be returned.
> 
> Has libvirt API been tested against Xen 3.3.1? Can this problem be
> fixed by upgrading libvirt to version 0.6.5? What is the best approach
> to address this issue?

In Xen <= 3.0.x inactive domain configs are not managed by XenD at
all, so libvirt has some hacky code to read files in /etc/xen. In
Xen >= 3.1.0 XenD has proper management APIs for inactive guests and
libvirt uses that instead.

So if you upgrade from 3.0.x to > 3.1.x then any config files in
/etc/xen should be loaded into XenD using 'xm new CONFIG'. libvirt
will then be able to see & manage them properly


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]