LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 03-05-2012, 06:21 AM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 263

Rep: Reputation: Disabled
Can KVM access a Hyper-V virtual machine directly


Anyone know if it is possible to use a Hyper-V VM directly in KVM? just that I notice the storage format for the virtual disk now includes vdi which as far as I know is the format used by hyper-v.
 
Old 03-05-2012, 06:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Well it doesn't make sense to use one vm in another, as it's only disk images you'd use.

Hyper-V uses VHD format, not VDI, and you appear to be able to convert them - http://blog.allanglesit.com/2011/03/...images-to-kvm/ but not use directly.
 
Old 03-05-2012, 07:50 AM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 848

Rep: Reputation: 91
running the same VMs between different hypervisors is more than just taking the image, same as moving the physical hard drive between different physical machines will mean the installed OS will have problems with drivers.
 
Old 03-05-2012, 08:21 AM   #4
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 263

Original Poster
Rep: Reputation: Disabled
Interesting article, the following paragraph suggests that maybe the hyper-v VM can actually be opened directly:
Quote:
So obviously the next thing I thought of is that if kvm-img supports vpc as a file format, perhaps KVM can boot it. Well it can. So if you are so inclined you could simply copy the file from the Hyper-V server to the KVM server and start it (and uninstall the Integration Components if applicable) I plan on investigating the perfomance implications of this choice though that is not part of this article.
According to this article the file format on Hyper-V is actually vpc (.vhd file).

I tried to create a new VM in VMM and pointed it towards an existing .vhd file but encountered the problem that vpc is not listed as a file format in VMM, that only includes raw/qcow2/vdi/vmdk not vpc.

On a different subject does KVM support OVF.
 
Old 03-05-2012, 11:12 AM   #5
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 848

Rep: Reputation: 91
first of all, $format support by qemu-img is not necessarily a sign of _good_ support or of _online_ support.

as for OVF, RHEV/oVirt support OVF, however, OVF is just an xml file that describes a VM, the standard is very vague, and OVFs from different vendors can easily turn out to be incompatible
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU usage is high by KVM virtual machine leechaotang Linux - Kernel 1 11-30-2011 03:22 PM
Is it possible?? VPN client trying to access KVM virtual machine greenpoise Linux - Networking 2 06-03-2011 05:52 PM
arghh! One interface works and one doesn't in kvm virtual machine TuPari Linux - Networking 0 08-05-2009 01:36 AM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 03:51 AM
What kernel-based virtual machine (KVM) means for gaming? toaster.waffle Linux - Games 2 12-30-2006 11:51 PM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration