Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Converting Xen VM to KVM?

Featured Replies

Did anyone produce a guide for converting a Xen VM to a KVM VM?  Is the conversion of cfg to libvirt XML all that is needed, or is there more to it?

 

My interest is specifically in IB's ArchVM.

 

If such a guide exists, would someone br good enough to point me to it?

Did anyone produce a guide for converting a Xen VM to a KVM VM?  Is the conversion of cfg to libvirt XML all that is needed, or is there more to it?

 

My interest is specifically in IB's ArchVM.

 

If such a guide exists, would someone br good enough to point me to it?

 

There was a KVM image made available by IB. The link is dead. See HERE.

 

Maybe some kind soul would make it available via torrent or private hosting.

 

I am also interested. My Xen setup is working fine but would like to experiment with both KVM and Dockers, and this image would have made it very easy. I send IB an IM requesting to provide it but he never responded.

 

There is also a more vanilla KVM image that does not include references to his repository.

 

Unless it becomes available, I am just going to play with the vanilla KVM setup and experiment with loading my apps manually. It should not be that hard. And self-updates should work. I'd probably learn something in the process.

There was a KVM image made available by IB. The link is dead. See HERE.

 

Maybe some kind soul would make it available via torrent or private hosting.

 

I am also interested. My Xen setup is working fine but would like to experiment with both KVM and Dockers, and this image would have made it very easy. I send IB an IM requesting to provide it but he never responded.

 

There is also a more vanilla KVM image that does not include references to his repository.

Unless it becomes available, I am just going to play with the vanilla KVM setup and experiment with loading my apps manually. It should not be that hard. And self-updates should work. I'd probably learn something in the process.

 

The reference to the repository is an easy fix, as it is just a config file for pacman (arch's package manager).  Ironic Badger even posted a tutorial on how to do it yourself here.

  • Author
There was a KVM image made available by IB. The link is dead. See HERE.

 

Yes, indeed, but I was hoping that I could just take what I have, and make it run under KVM.  IB suggested that he would produce such a guide, but I wasn't sure whether that ever happened.

 

I'm not sure whether there is any Xen/KVM-specific contents of the disk image - my expectation is not ... that it's the same disk contents which could be booted on any x86_64 hardware.

 

Then I don't know whether the same disk image format can be used for KVM, or whether it requires conversion into some other format.  I read of raw/qcow/qcow2/vhd format disk images.  What format is the image which IB supplied with his Xen VM?  What format(s) can be used, or are best, for KVM?

 

If conversion is required, what tool can be used?

 

Maybe some kind soul would make it available via torrent or private hosting.

 

I am also interested. My Xen setup is working fine but would like to experiment with both KVM and Dockers, and this image would have made it very easy.

 

I guess that there are a lot of us in the same predicament - we tried beta6, and encountered the crash on network activity, so reverted to beta 5.  Now LT have announced that they are not concentrating on VM problems, we need to find a migration path to newer betas, avoiding the Xen/network problem.

 

I send IB an IM requesting to provide it but he never responded.

 

There is also a more vanilla KVM image that does not include references to his repository.

 

I don't think that there is anything special about IB's repository - it's just builds of packages found on AUR.  I have already been building such packages for my physical desktop machine, both using the 'manual' method, and using the yaourt tool.

 

Unless it becomes available, I am just going to play with the vanilla KVM setup and experiment with loading my apps manually. It should not be that hard. And self-updates should work. I'd probably learn something in the process.

 

Yes, that may be the only option if the disk image is not usable or convertible.

  • 2 weeks later...

Rebuild your initramfs with the KVM modules and remove the Xen modules.

 

nano /etc/mkinitcpio.conf

 

Remove the Xen stuff on the modules lines and add the following from the wiki.

https://wiki.archlinux.org/index.php/QEMU#Preparing_an_.28Arch.29_Linux_guest

 

Update your initramfs with

 

mkinitcpio -p linux

 

 

Then shutdown the vm. Reboot the host into KVM mode, get your XML file sorted out and you should be good. Not tested and written off the top of my head but it should work.

 

 

Sent from my iPad using Tapatalk

There is also a more vanilla KVM image that does not include references to his repository.

 

Unless it becomes available, I am just going to play with the vanilla KVM setup and experiment with loading my apps manually. It should not be that hard. And self-updates should work. I'd probably learn something in the process.

 

hi bjp999, im assuming your talking about the kvm image i created here?:-

 

http://lime-technology.com/forum/index.php?topic=31623.0

 

ive had positive feedback from this so far, to be honest packer makes it trivial to install any package from AUR so you should be able to take this and load any apps you want, then its just a case of transfering over the config from your old vm to the new one, could be done using winscp or some such tool to hook in via ssh and copy the config.ini etc over.

 

disclaimer - im supporting the base os and will add in any additional system tooling suggested by users, other than that your on your own for support of any apps installed, i will of course try to help out but this is more of a self-maintained image.

  • Author

Rebuild your initramfs with the KVM modules and remove the Xen modules.

...

 

Thanks for the advice, IB, it is much appreciated.  I was wondering whether I needed to do more than just change the run time configuration files, and you have confirmed that I do.

 

I will try to find time to follow your advice and, hopefully, do a more detailed write-up for the benefit of others.

 

I guess that it will be easiest to disable all my processes which access Dom0 shares (to stop the VM crashing), then boot into beta6 and follow your procedure.

I decided to try out Dockers to run my add-ons. No regrets! It works quite well and the setup is easy.

 

Would like to setup a Window KVM image soon, but setting up a Linux image is not a priority at the moment.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.