Skip to contentSkip to conversation

Does kvm friendly support GPT?

DISCUSSION Zhang Haoyu 1 participant 1 message Jan 12, 2015 KVM

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Paolo Bonzini
Quoted 6 lines · Zhang Haoyu

Hi,

When I perform P2V from native servers with win2008 to kvm vm, some cases failed due to the physical disk was using GPT for partition, and QEMU doesn't support GPT by default.

Quoted 7 lines
Quoted 4 lines

And, I see in below site that OVMF can be used to enable UEFI to support GPT,
http://www.linux-kvm.org/page/OVMF

But, it seems that OVMF is not stable enough for kvm.

OVMF is stable. The main issues are:

I download OVMF from https://github.com/tianocore/edk2.git
I build and run OVMF to enable UEFI to start windows7, windows8, windows2008, windows2012, test results are:
1) windows7 and windows2008 got stuck at boot stage.
Either the '-vga std' or '-vga qxl' QEMU option is used, but which dosen't work.

2) windows8 and windows2012 started successfully, seems okay for now.
But error dialog of "no enough resources ..." is reported for rtl8139 and e1000 NIC in windows devices manager, virtio NIC is okay.

Any advices?

Thanks,
Zhang Haoyu

Quoted 6 lines

1) tools support (libvirt and above), which is being worked on

2) the FAT driver is not free, which prevents distribution in Fedora and several other distributions

Paolo