From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Cp0-0008FE-1b for qemu-devel@nongnu.org; Fri, 02 Jan 2015 19:44:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7Cow-0005qz-Eg for qemu-devel@nongnu.org; Fri, 02 Jan 2015 19:44:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Cow-0005qT-7k for qemu-devel@nongnu.org; Fri, 02 Jan 2015 19:43:58 -0500 Date: Sat, 3 Jan 2015 00:43:54 +0000 From: "Richard W.M. Jones" Message-ID: <20150103004354.GC9693@redhat.com> References: <5497BC9F.6020908@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5497BC9F.6020908@gmail.com> Subject: Re: [Qemu-devel] Does kvm friendly support GPT? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: Paolo Bonzini , qemu-devel , kvm-devel 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