From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Does kvm friendly support GPT? Date: Sat, 3 Jan 2015 00:43:54 +0000 Message-ID: <20150103004354.GC9693@redhat.com> References: <5497BC9F.6020908@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel , kvm-devel , Paolo Bonzini To: Zhang Haoyu Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52142 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbbACAn6 (ORCPT ); Fri, 2 Jan 2015 19:43:58 -0500 Content-Disposition: inline In-Reply-To: <5497BC9F.6020908@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Dec 22, 2014 at 02:39:27PM +0800, Zhang Haoyu wrote: > 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. > > 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. I guess you mean EFI rather than just GPT? FWIW virt-p2v has some support for EFI, but it's very hairy and not that well tested. It tries to modify the guest to use BIOS for booting. I'm waiting for good, free EFI support in qemu and then I can remove such hacks. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v