WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-ma

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: [Xen-users] Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 (2.32.12) on top of Ubuntu 10.04 Server
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 6 May 2010 07:11:27 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 May 2010 07:12:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1273155087; bh=bB5KafJAOmyOcsT29RLtmD+BWmxkmpO0l4NbwUtG62s=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=lCrG/xHTIFJepjsCtukxcZRxbRVfuKAQBI3HocyTZghnPJBEibXBJ2IdAMs5ufkhaDBamSEg/s6QbSCenTL5YdFgPo4tfshMiuLBOEpvTJqDgwfzBzhMgnnZdz5Z0uDJ3uS2axE0deScGVXr2L56B71lHIoy+jMzpF9/k3crctE=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=T8ZvP9Wggk5KpIWd0dYpTAqtg9nDsSorZst1i7qsFrWLXHBNFtaICExql1fNYENuRUGG+AoCO9oRRJFD7eExlAlqFjBERSUhJozvszOxCp7hoys4W+N41wIpvSuvAui3NvfIWcQ4Qc8BHwAj5tWWCNiAuRYoHAFG6RT2FRQW0R4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Due to ongoing issue with virsh compiled against libvirt 0.7.5 when working with Xen 4.0
Hypervisor. I attempted to downgrade libvirt and related stuff  to Ubuntu Karmic's ( well tested version with Xen)

1.Edit /etc/apt/sources.list

Replace:
deb http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted
   by
deb http://ru.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ karmic main restricted

 Save

# apt-get update
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt ( from Karmic main)

2. Rebuild and reinstall Xen 4.0 & Tools

3. Reboot
KVM modules fails to load

Revert /etc/apt/sources.list back as it was.
# apt-get update
You should get system with working virt-install and virt-manager.
Virsh should behave normal ( virsh list is not empty):

root@ServerLnx:/etc/apt# virsh version
Connecting to uri: xen:///
Compiled against library: libvir 0.7.0
Using library: libvir 0.7.0
Using API: Xen 3.0.1
Running hypervisor: Xen 4.0.0

root@ServerLnx:/etc/apt# virsh list
Connecting to uri: xen:///
 Id Name                 State
----------------------------------
  0 Domain-0             running
  6 VMF12                idle

Boris.





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>