Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 (2.6.32.12 pvops kernel ) on top of Ubuntu 10.04 Server

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). Proceed as follows :-

1.Edit /etc/apt/sources.list

Replace:
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
by
deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://us.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 module 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




About these ads

5 Responses to Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 (2.6.32.12 pvops kernel ) on top of Ubuntu 10.04 Server

  1. [...] Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 (2.6…. [...]

  2. [...] to the detailed posts on http://bderzhavets.wordpress.com/ [A, B, C ] virt-manager is running xen 4.0 on ubuntu 10.04 (installation of ubuntu server plus apt-get [...]

  3. best in show says:

    Hello there! Do you use Twitter? I’d like to follow you if that would be okay. I’m undoubtedly enjoying
    your blog and look forward to new posts.

  4. Terrific post however , I was wanting to know if you could write a litte more on this subject?
    I’d be very grateful if you could elaborate a little bit more. Bless you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: