Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to migrate my Windows VM from VMware player to KVM. All documents I found deal with disk images, however my current VM is installed on real NTFS filesystem, located on separate SATA drive.

Is it possible to configure KVM virtual machine with Windows XP guest, located on physical drive?

share|improve this question

2 Answers 2

Use a P2V solution like virt-p2v, found here: http://libguestfs.org/virt-v2v/

There are many others and that's just an example. While technically it's "virtual", the P2V process will create a disk image that's usable with KVM.

share|improve this answer
    
I'd prefer to keep my VM on physical disk rather then virtual, although I would use your solution as a last resort. –  qrdl Jun 13 '13 at 15:39

Shouldn't be a problem - just point the hypervisor to the disk instead of an image. You might want to start with setting the disks up as IDE and using mergeide.reg (can be found online) and switching to virtio later on.

Images are normally used because they are so much easier to manage, especially when there are lots of VMs to deal with.

share|improve this answer
    
Could you please elaborate, how to point the hypervisor to the disk? –  qrdl Jun 14 '13 at 14:32
    
in your VM definitions, you simply point to /dev/sdX and use the raw format –  dyasny Jun 14 '13 at 14:38
    
Sounds like what I need. Did you do it? I couldn't find anything about it in the docs. –  qrdl Jul 6 '13 at 20:21
    
yeah, I've used this method before –  dyasny Jul 7 '13 at 1:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.